import cv2 cap = cv2.VideoCapture('m.avi') print cap.grab()
this code always returns a False value but when opening the video file which was captured by the webcam using opencv code, it returns True
1 | initial version |
import cv2 cap = cv2.VideoCapture('m.avi') print cap.grab()
this code always returns a False value but when opening the video file which was captured by the webcam using opencv code, it returns True