Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

cv2 videocapture nth frame

import cv2
import numpy as np

vidcap = cv2.VideoCapture("fileName.mp4")
vidcap.set(1, FrameNumber)
viwvidcap.read()[1].astype(np.uint8)
 
PREVIOUS NEXT
Tagged: #videocapture #nth #frame
ADD COMMENT
Topic
Name
6+6 =