add the possibility to add traincascade accuracy

This commit is contained in:
StevenPuttemans
2015-04-03 09:39:23 +02:00
parent ba0a8dc723
commit e30139edc3
4 changed files with 24 additions and 5 deletions

View File

@@ -96,7 +96,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 );