Update sample and code with external computation of HOG detector.

This commit is contained in:
Mathieu Barnachon
2013-09-12 18:38:49 +02:00
parent 2fe340bf8a
commit 0934344a3d
3 changed files with 100 additions and 91 deletions

View File

@@ -518,8 +518,7 @@ 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;
virtual const CvSVMDecisionFunc* get_decision_function() const { return decision_func; }
static CvParamGrid get_default_grid( int param_id );