OpenCV
4.5.1
Open Source Computer Vision
|
Video reader interface. More...
#include <opencv2/cudacodec.hpp>
Public Member Functions | |
virtual | ~VideoReader () |
virtual FormatInfo | format () const =0 |
Returns information about video file format. More... | |
virtual bool | nextFrame (GpuMat &frame, Stream &stream=Stream::Null())=0 |
Grabs, decodes and returns the next video frame. More... | |
Video reader interface.
|
inlinevirtual |
|
pure virtual |
Returns information about video file format.
|
pure virtual |
Grabs, decodes and returns the next video frame.
If no frames has been grabbed (there are no more frames in video file), the methods return false . The method throws Exception if error occurs.