Emgu.CV.CvInvoke.cvCreateFileCapture C# (CSharp) Метод

cvCreateFileCapture() приватный Метод

private cvCreateFileCapture ( [ filename ) : IntPtr
filename [
Результат IntPtr
        public static extern IntPtr cvCreateFileCapture([MarshalAs(StringMarshalType)] String filename);

Usage Example

Пример #1
0
 /// <summary>
 /// Create a capture from file or a video stream
 /// </summary>
 /// <param name="fileName">The name of a file, or an url pointed to a stream.</param>
 public Capture(String fileName)
 {
     _ptr = CvInvoke.cvCreateFileCapture(fileName);
     if (_ptr == IntPtr.Zero)
     {
         throw new NullReferenceException(String.Format("Unable to create capture from {0}", fileName));
     }
 }
All Usage Examples Of Emgu.CV.CvInvoke::cvCreateFileCapture
CvInvoke