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

Grabs, decodes and returns the next video frame

frame = cap.read()
frame = cap.read('OptionName',optionValue, ...)

Output

Options

The method combines cv.VideoCapture.grab and cv.VideoCapture.retrieve in one call. This is the most convenient method for reading video files or capturing data from decode and return the just grabbed frame. If no frames has been grabbed (camera has been disconnected, or there are no more frames in video file), the function return an empty matrix.

See also
Method Details
Access public
Sealed false
Static false