Emgu.CV.CvInvoke.cvLoadLatentSvmDetector C# (CSharp) Method

cvLoadLatentSvmDetector() private method

private cvLoadLatentSvmDetector ( [ filename ) : IntPtr
filename [
return IntPtr
        public static extern IntPtr cvLoadLatentSvmDetector(
         [MarshalAs(CvInvoke.StringMarshalType)]
         String filename);

Usage Example

コード例 #1
0
 /// <summary>
 /// Load the trained detector from file
 /// </summary>
 /// <param name="fileName">The trained laten svm file</param>
 public LatentSvmDetector(String fileName)
 {
     _ptr = CvInvoke.cvLoadLatentSvmDetector(fileName);
     if (_ptr == IntPtr.Zero)
     {
         throw new ArgumentException(String.Format("Unable to create latent svm model from the file {0}.", fileName));
     }
 }
All Usage Examples Of Emgu.CV.CvInvoke::cvLoadLatentSvmDetector
CvInvoke