you’ll have to upload a sample video somehow.
other points:
-
cap.isOpened()
is supposed to be called and checked once -
ret
fromcap.read()
must be checked and the loop ended if it is false
you’ll have to upload a sample video somehow.
other points:
cap.isOpened()
is supposed to be called and checked once
ret
from cap.read()
must be checked and the loop ended if it is false