5,323
edits
Line 133: | Line 133: | ||
total_frames = int(video_capture.get(cv2.CAP_PROP_FRAME_COUNT)) | total_frames = int(video_capture.get(cv2.CAP_PROP_FRAME_COUNT)) | ||
frame_pos = int(video_capture.get(cv2.CAP_PROP_POS_FRAMES)) | frame_pos = int(video_capture.get(cv2.CAP_PROP_POS_FRAMES)) | ||
fps = video_capture.get(cv2.CAP_PROP_FPS) | |||
</syntaxhighlight> | </syntaxhighlight> | ||