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.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- device
- Type: OpenCvSharpCaptureDevice
Device type
Return Value
Type: VideoCapture[Missing <returns> documentation for "M:OpenCvSharp.CPlusPlus.VideoCapture.FromCamera(OpenCvSharp.CaptureDevice)"]
See Also