Ejemplo n.º 1
0
 /// <summary>
 ///
 /// </summary>
 /// <returns></returns>
 public string[] GetParams()
 {
     using (var namesVec = new VectorOfString())
     {
         NativeMethods.core_AlgorithmInfo_getParams(ptr, namesVec.CvPtr);
         return(namesVec.ToArray());
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Return the class (model) names that were passed in constructor or method load or extracted from models filenames in those methods.
 /// </summary>
 /// <returns></returns>
 public string[] GetClassNames()
 {
     using (var outVec = new VectorOfString())
     {
         NativeMethods.objdetect_LatentSvmDetector_getClassNames(ptr, outVec.CvPtr);
         return(outVec.ToArray());
     }
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Returns the list of registered algorithms
 /// </summary>
 /// <returns>The output array of algorithm names.</returns>
 public static string[] GetList()
 {
     using (var vec = new VectorOfString())
     {
         NativeMethods.core_Algorithm_getList(vec.CvPtr);
         return(vec.ToArray());
     }
 }