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