VideoCapture Constructor (String, VideoCaptureAPI) |
http://www.emgu.com
Create a capture from file or a video stream
Namespace:
Emgu.CV
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.0.1.3373 (4.0.1.3373)
Syntaxpublic VideoCapture(
string fileName,
VideoCaptureAPI captureApi = VideoCaptureAPI.Any
)
Public Sub New (
fileName As String,
Optional captureApi As VideoCaptureAPI = VideoCaptureAPI.Any
)
public:
VideoCapture(
String^ fileName,
VideoCaptureAPI captureApi = VideoCaptureAPI::Any
)
new :
fileName : string *
?captureApi : VideoCaptureAPI
(* Defaults:
let _captureApi = defaultArg captureApi VideoCaptureAPI.Any
*)
-> VideoCapture
Parameters
- fileName
- Type: SystemString
The name of a file, or an url pointed to a stream. - 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