going in the very right direction!
This commit is contained in:
1 parent
3ea54208be
commit
e6c609fb08
5 files changed
+14488
-24
No files matched your search
@@ -23,7 +23,7 @@ def iter_frames(video_cap):
|
||||
ret, frame = video_cap.read()
|
||||
if not ret:
|
||||
return
|
||||
yield frame
|
||||
yield frame, video_cap.get(cv2.CAP_PROP_POS_MSEC)
|
||||
|
||||
|
||||
@contextlib.contextmanager
|
||||
|
||||
Reference in new issue
Block a user