I wanna use javacv on my raspberry pi3 to take pictures.
At first,i write the code on my computer( OS X 10.13.1)and use the follow Jars

and then,i copy the project and replace jars like these

then,i run the exported on my raspberry,but it gave me the follow error informations
org.bytedeco.javacv.FrameGrabber$Exception: read() Error: Could not read frame in start().
at org.bytedeco.javacv.OpenCVFrameGrabber.start(OpenCVFrameGrabber.java:222)
my code is followed(partly):
this.grabber = this.grabber = new OpenCVFrameGrabber(0);
grabber.start();//it seems that it crash at here
and ,after I change like this
this.grabber = OpenCVFrameGrabber.createDefault("/dev/video0");//the /dev/video0 do exist
grabber.start();//it seems that it crash at here
it still goes wrong
what should I do?
thanks very much :)
Sorry for my uncarefully
I just find that in another question you really answer my que;
new FFmpegFrameGrabber("/dev/video0");
it really works
thanks!
Most helpful comment
Sorry for my uncarefully
I just find that in another question you really answer my que;
new FFmpegFrameGrabber("/dev/video0");
it really works
thanks!