CvCapture Constructor (CaptureDevice, Int32) OpenCvSharp Class Library
Allocates and initialized the CvCapture structure for reading a video stream from the camera. Currently two camera interfaces can be used on Windows: Video for Windows (VFW) and Matrox Imaging Library (MIL); and two on Linux: V4L and FireWire (IEEE1394).

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public CvCapture(
	CaptureDevice device,
	int index
)

Parameters

device
Type: OpenCvSharpCaptureDevice
Device type
index
Type: SystemInt32
Index of the camera to be used. If there is only one camera or it does not matter what camera to use -1 may be passed.

Return Value

Type: 
See Also

Reference