Hello everyone!
my name is sam, I build a robot inmoov, I integrated a camera in the eye.
I have a problem with open cv that crash my pc (blue screen and restart),
the camera is a 600 tvl with a USB capture video key, with the program comes with the key it works but with MRL it crashes,

Is it necessary for mrl to be in usb3? (I think I plugged it into usb 2 to make it work).
Does it use a direct x or something to update?

Thank you

moz4r

5 years 3 months ago

Hi sam, are you using usb hub ? can you send a noworky ?

Maybe you can try a different frameGrabber like :

- Manticore : opencv.setFrameGrabberType("org.myrobotlab.opencv.SarxosFrameGrabber")

- Nixie : opencv.setGrabberType("Sarxos")

Hello,
Thank you for your answer,
I do not know exactly if it's a hub, it's a mini pc or everything is integrated but in the control panel it is marked "hub usb"

[url=https://goopics.net/i/n5kw1][img]https://i.goopics.net/n5kw1.jpg[/img][…]

I tried a USB port 3 but the result is the same.
.I dont't not know if I do it right but in "displayrender =" I tested the 3 possibilities, did not bug with opencvframegrabber but I still do not see any image

Cyberneo2002

5 years 3 months ago

In reply to by Cyberneo2002

what should I choose in input on opencv?
Thank you

Cyberneo2002

5 years 3 months ago

Hello,
I hope you can see the picture, the video works through the tvr program but not under myrobotlab,
I sent a no-worky .
https://ibb.co/gtvShh0

GroG

5 years 3 months ago

In reply to by Cyberneo2002

Ahoy Cyberneo2002 ! and Welcome !

I don't see your noWorky .. last noWorky looks like is from hairygael.

I'd recommend the following, start with a new jar in a new directory ...
like c:\mrl\myrobotlab.jar

type 
 java -jar myrobotlab.jar -install

wait till its all installed

type
java -jar myrobotlab.jar 

Try to start OpenCV ONLY .. 
you can do this through the runtime tab or using python 

e.g.

cv = Runtime.start("cv","OpenCV")

start a capture ..

if it doesn't work - send a noWorky http://myrobotlab.org/content/helpful-myrobotlab-tips-and-tricks-0#noWorky

thank you for your answers,
a no worky in the name of cyberneo was sent but I do not know what it gives as a result because my pc plants that I activate capture.
I put tvr next just to show that the camera works well, it is set in pal on tvr.
I tried to doto run myrobotlab with open cv, if I launch the capture with open cv nothing happens but if I launch the capture with input video I immediately have a blue screen .

https://ibb.co/ns5BNnK
https://ibb.co/sg4FSq7

Thank you!

GroG

5 years 2 months ago

In reply to by Cyberneo2002

I looked at your noworky, but it did not have any information which would help.  The "Blue Screen of Death" is something wrong between (camera driver + OS + OpenCV) .     It "should not" generate a Blue Screen of Death. 

Although I'm running out of ideas ...

You may want to try the "latest" Nixie release in a new directory
http://build.myrobotlab.org:8080/job/myrobotlab-maven/lastBuild/artifact/target/myrobotlab.jar
(then do an install  java -jar myrobotlab.jar -install)

Make sure you've got the correct bitness of Java .. e.g. i fyour OS is 32 bit make sure you have 32 bit Java - if you have a 64 bit OS make sure you have a 64 bit Java
 

c:\>java -version
java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)
 
If all that fails I recommend switching to Linux ... ;)
 

hello,
thank you for the answer,
I did all the tests, as it comes from a problem between driver / mrl / windows I updated the latest version of windows that had been installed incorrectly, I put pilots day and I tested with nixie but still the blue screen of death.java is ok.
I think about to change the video capture key ... does someone use the 600 tvl camera and with what?Dakota uses it, I think. at worst I will test linux but you have to relearn everything ...
Thank you !

Cyberneo2002

5 years ago

In reply to by Cyberneo2002

there was a problem with the acquisition card, I changed it and windows no longer crash.
I still have no image or face tracking can be that there are things to set to operate?