Click or drag to resize

VideoCaptureRetrieve Method (Mat, CameraChannels)

Returns the pointer to the image grabbed with cvGrabFrame function. The returned image should not be released or modified by user.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public bool Retrieve(
	Mat image,
	CameraChannels streamIdx = CameraChannels.OpenNI_DepthMap
)

Parameters

image
Type: OpenCvSharpMat
streamIdx (Optional)
Type: OpenCvSharpCameraChannels
non-zero streamIdx is only valid for multi-head camera live streams

Return Value

Type: Boolean
See Also