MATLAB File Help: cv.VideoCapture/open Index
cv.VideoCapture/open

Open video file or a capturing device for video capturing

successFlag = cap.open(index)
successFlag = cap.open(filename)
successFlag = cap.open(..., 'API',apiPreference)

Output

Inputs and options are the same as in the constructor.

The method first call cv.VideoCapture.release to close the already opened file or camera.

See also
Method Details
Access public
Sealed false
Static false