Skip to content Skip to sidebar Skip to footer

Opencv's Video Capture Not Returning An Image

So I'm trying to get started with image detection in OpenCV. I'm programming in Python. I started out with the face-detect example for openCV2. However, even though a camera device

Solution 1:

I faced the same issue.

Sometimes video/webcam driver is a problem and it returns invalid first few frames. Check the return value of the to handle the error condition. Also restart your kernel and it should work.

And may be due to some previous error conditions, your cap.release() was not called.

Post a Comment for "Opencv's Video Capture Not Returning An Image"