Closed bornfree closed 1 year ago
In a few videos cap.read returns false before we reach end of video. This contradicts what's stated in https://docs.opencv.org/4.x/dd/d43/tutorial_py_video_display.html
cap.read
We now use cv2.CAP_PROP_FRAME_COUNT to check if we have indeed read all frames.
cv2.CAP_PROP_FRAME_COUNT
In a few videos
cap.read
returns false before we reach end of video. This contradicts what's stated in https://docs.opencv.org/4.x/dd/d43/tutorial_py_video_display.htmlWe now use
cv2.CAP_PROP_FRAME_COUNT
to check if we have indeed read all frames.