| VideoCaptureRetrieve Method (Mat, CameraChannels) |
Decodes and returns the grabbed video frame.
The method 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 method returns false
and the function returns an empty image (with %cv::Mat, test it with Mat::empty()).
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public bool Retrieve(
Mat image,
CameraChannels streamIdx
)
Public Function Retrieve (
image As Mat,
streamIdx As CameraChannels
) As Boolean
public:
bool Retrieve(
Mat^ image,
CameraChannels streamIdx
)
member Retrieve :
image : Mat *
streamIdx : CameraChannels -> bool
Parameters
- image
- Type: OpenCvSharpMat
the video frame is returned here. If no frames has been grabbed the image will be empty. - streamIdx
- Type: OpenCvSharpCameraChannels
non-zero streamIdx is only valid for multi-head camera live streams
Return Value
Type:
Boolean[Missing <returns> documentation for "M:OpenCvSharp.VideoCapture.Retrieve(OpenCvSharp.Mat,OpenCvSharp.CameraChannels)"]
See Also