cvLoadLatentSvmDetector() private méthode

private cvLoadLatentSvmDetector ( [ filename ) : IntPtr
filename [
Résultat IntPtr
Exemple #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));
     }
 }
 /// <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);
 }