VideoCapture Constructor (String)
|
Allocates and initialized the CvCapture structure for reading the video stream from the specified file.
After the allocated structure is not used any more it should be released by cvReleaseCapture function.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic VideoCapture(
string fileName
)
Public Sub New (
fileName As String
)
public:
VideoCapture(
String^ fileName
)
new :
fileName : string -> VideoCapture
OpenCvSharp.VideoCapture = function(fileName);
Parameters
- fileName
- Type: SystemString
Name of the video file.
Return Value
Type:
See Also