1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

allowing people to manually define how sharp a cascade classifier model should be trained

This commit is contained in:
StevenPuttemans
2015-03-06 11:52:26 +01:00
parent 4e87deae28
commit 7e35f76d06
4 changed files with 26 additions and 5 deletions
+2 -1
View File
@@ -94,7 +94,8 @@ public:
const CvCascadeParams& _cascadeParams,
const CvFeatureParams& _featureParams,
const CvCascadeBoostParams& _stageParams,
bool baseFormatSave = false );
bool baseFormatSave = false,
double acceptanceRatioBreakValue = -1.0 );
private:
int predict( int sampleIdx );
void save( const std::string cascadeDirName, bool baseFormat = false );