Adding an export for HOGDetector compatibility.

An SVM train with HOG could export a single vector for HOGDetector.
This commit is contained in:
Mathieu Barnachon
2013-08-22 15:00:32 +12:00
parent 4ed9b1ca9a
commit 7f3273c77f
2 changed files with 34 additions and 0 deletions

View File

@@ -518,6 +518,9 @@ public:
virtual CvSVMParams get_params() const { return params; };
CV_WRAP virtual void clear();
// return a single vector for HOG detector.
virtual void get_svm_detector( std::vector< float > & detector ) const;
static CvParamGrid get_default_grid( int param_id );
virtual void write( CvFileStorage* storage, const char* name ) const;