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

private cvLoadLatentSvmDetector ( [ filename ) : IntPtr
filename [
Результат IntPtr
Пример #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));
     }
 }
Пример #2
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);
 }