VideoCapture Constructor (String, VideoCaptureAPI) |
http://www.emgu.com
Create a capture from file or a video stream
Namespace:
Emgu.CV
Assembly:
Emgu.CV.World.NetStandard (in Emgu.CV.World.NetStandard.dll) Version: 1.0.0
Syntaxpublic VideoCapture(
string fileName,
VideoCaptureAPI captureApi = 0
)
Public Sub New (
fileName As String,
Optional captureApi As VideoCaptureAPI = 0
)
public:
VideoCapture(
String^ fileName,
VideoCaptureAPI^ captureApi = 0
)
new :
fileName : string *
?captureApi : VideoCaptureAPI
(* Defaults:
let _captureApi = defaultArg captureApi 0
*)
-> 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