VideoCaptureFromFile Method
|
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 static VideoCapture FromFile(
string fileName
)
Public Shared Function FromFile (
fileName As String
) As VideoCapture
public:
static VideoCapture^ FromFile(
String^ fileName
)
static member FromFile :
fileName : string -> VideoCapture
OpenCvSharp.VideoCapture.FromFile = function(fileName);
Parameters
- fileName
- Type: SystemString
Name of the video file.
Return Value
Type:
VideoCapture
See Also