I just started playing around with OpenCV in Python and am running into an assertion error. I copied the following code from a tutorial, but it\'s not working f
OpenCV
After ret, frame = cap.read(), add if not ret: continue.
ret, frame = cap.read()
if not ret: continue
Some cam-drivers return an invalid first frame.