Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

video timestamp opencv python

fps = cap.get(cv2.CV_CAP_PROP_FPS)
frame_count = 0
while True:
   frame_count++
   time = float(frame_count)/fps
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #video #timestamp #opencv #python
ADD COMMENT
Topic
Name
6+6 =