Jump to content

OpenCV: Difference between revisions

42 bytes added ,  19 May 2020
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>