Ask Your Question

Revision history [back]

video is not opening in opencv 2.4.10 with python

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