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

Decodes and returns the grabbed video frame

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

Output

Options

The function decodes and returns 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 returns an empty matrix.

See also
Method Details
Access public
Sealed false
Static false