- I have used cap.set(cv2.CAP_PROP_POS_FRAMES, count) for skipping frames but this process is working fine with a video file, not with a camera and online stream
I have used time.sleep(5), which works fine with a camera but not with online streaming
right now I am using a counter for skipping frames in online streaming (is this the only efficient way to do it )
- I am looking for the best way to skip frames so I can reduce my computation while continuous reading of the frame