Click or drag to resize

VideoCapture Constructor (Int32, VideoCaptureAPI)
Create a capture using the specific camera

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: (
public VideoCapture(
	int camIndex = 0,
	VideoCaptureAPI captureApi = VideoCaptureAPI.Any


camIndex (Optional)
Type: SystemInt32
The index of the camera to create capture from, starting from 0
captureApi (Optional)
Type: Emgu.CVVideoCaptureAPI
The preferred Capture API backends to use. Can be used to enforce a specific reader implementation if multiple are available.
See Also