himanshukandwal / javacv

Automatically exported from code.google.com/p/javacv
GNU General Public License v2.0
0 stars 0 forks source link

Problem while running Test2: "Could not retrieve frame" #22

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. When I run Test2 example.
2. I have this message: "cvRetrieveFrame() Error: Could not retrieve frame."
3. It's the OpenCVFrameGraber class.

What version of the product are you using? On what operating system?
I installed all items described in the JavaCV web page.
I have MacOX 10.6.4. 
OpenCV: I have the latest official version of OpenCV installed on the root. The 
samples (samples/c) provided by OpenCV are working well, particularly the face 
detection.

Please provide any additional information below.
For Test2: The webcam turned on when I run the program. The Canvas Frame 
entitled "Some title" appear on the screen, before I got the message error.

ps: thanks for the good job, I would like to use JavaCV in my work, but I am 
still afraid of getting such kind of errors. Do you have any idea from where 
comes the problem? Thanks.

Original issue reported on code.google.com by elieskho...@gmail.com on 24 Sep 2010 at 8:38

GoogleCodeExporter commented 8 years ago
I have heard of other people having camera capture issues when running under 
Java and Mac OS X, but since I do not use a Mac, I cannot debug this... Please 
post on the mailing list to see if anyone figured this out

Original comment by samuel.a...@gmail.com on 25 Sep 2010 at 3:25

GoogleCodeExporter commented 8 years ago
I have this same problem on Linux, Fedora. 

Original comment by CEClaba...@gmail.com on 8 Nov 2010 at 1:14

GoogleCodeExporter commented 8 years ago
It's quite possible your camera is not supported by OpenCV. If OpenCV works 
with your camera in C, but JavaCV's highgui does not, then please open another 
issue. Don't resurrect unrelated issues.

Original comment by samuel.a...@gmail.com on 8 Nov 2010 at 1:22

GoogleCodeExporter commented 8 years ago
Actually, capture under Mac OS X should be fixed in new versions of JavaCV.

Original comment by samuel.a...@gmail.com on 12 Jun 2011 at 2:44