Ask Your Question

ohra's profile - activity

2013-10-14 12:01:20 -0600 answered a question VideoCapture .read() on OSX always gives False, None

After a bit of googling I found this issue: 2.4.6.1 camera pipeline fix. It seems the OSX webcam functionality is busted in the latest release. So, as a quick fix I reverted this one change in the OpenCV sources: modules/highgui/src/cap_qtkit.mm.

After rebuilding OpenCV the camera seems to work normally in all the OpenCV samples which didn't work at all before.

2013-10-13 12:17:36 -0600 commented question VideoCapture .read() on OSX always gives False, None

I have the same problem. When I process the frames in a while loop I'm able to work around it by checking if the frame is None and only proceeding with that loop round if that's not the case. I guess the read only fails in the beginning and later iterations are ok. Not really an optimal solution though. I suspect the webcam isn't really ready after cv2.VideoCapture() for some strange reason.

2013-10-13 12:11:32 -0600 received badge  Supporter (source)