/// <summary> /// Set the SVM detector /// </summary> /// <param name="detector">The SVM detector</param> public void SetSVMDetector(float[] detector) { using (VectorOfFloat vec = new VectorOfFloat()) { vec.Push(detector); CvInvoke.CvHOGSetSVMDetector(_ptr, vec); } }
/// <summary> /// Set the SVM detector /// </summary> /// <param name="detector">The SVM detector</param> public void SetSVMDetector(float[] detector) { _vector.Clear(); _vector.Push(detector); CvHOGSetSVMDetector(_ptr, _vector); }