http://www.emgu.com
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: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public static IntPtr cvCreateCameraCapture(
	int index
)
Visual Basic
Public Shared Function cvCreateCameraCapture ( 
	index As Integer
) As IntPtr
Visual C++
public:
static IntPtr cvCreateCameraCapture(
	int index
)
F#
static member cvCreateCameraCapture : 
        index : int -> IntPtr 

Parameters

index
Type: System..::..Int32
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: IntPtr
Pointer to the capture structure

See Also