skip frame opencv code example
Example: opencv skip video frames
import cv2
cap = cv2.VideoCapture('path/to/video/file')
start_frame_number = 50
cap.set(cv2.CAP_PROP_POS_FRAMES, start_frame_number)
# Now when you read the frame, you will be reading the 50th frame
success, frame = cap.read()