VideoCapture Constructor (Int32, VideoCaptureAPI) |
http://www.emgu.com Create a capture using the specific camera
Namespace:
Emgu.CV
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.0.1.3373 (4.0.1.3373)
Syntaxpublic VideoCapture(
int camIndex = 0,
VideoCaptureAPI captureApi = VideoCaptureAPI.Any
)
Public Sub New (
Optional camIndex As Integer = 0,
Optional captureApi As VideoCaptureAPI = VideoCaptureAPI.Any
)
public:
VideoCapture(
int camIndex = 0,
VideoCaptureAPI captureApi = VideoCaptureAPI::Any
)
new :
?camIndex : int *
?captureApi : VideoCaptureAPI
(* Defaults:
let _camIndex = defaultArg camIndex 0
let _captureApi = defaultArg captureApi VideoCaptureAPI.Any
*)
-> VideoCapture
Parameters
- 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