From d3ce471cd7dcfff4f5a9db92edb31706ef6f9e16 Mon Sep 17 00:00:00 2001 From: Maria Dimashova Date: Thu, 2 Dec 2010 13:50:39 +0000 Subject: [PATCH] returned maxDepth argument --- modules/traincascade/boost.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/traincascade/boost.cpp b/modules/traincascade/boost.cpp index 241a2dd11..afab53f21 100644 --- a/modules/traincascade/boost.cpp +++ b/modules/traincascade/boost.cpp @@ -110,7 +110,7 @@ void CvCascadeBoostParams::printAttrs() const cout << "minHitRate: " << minHitRate << endl; cout << "maxFalseAlarmRate: " << maxFalseAlarm << endl; cout << "weightTrimRate: " << weight_trim_rate << endl; - cout << "maxTreeDepth: " << max_depth << endl; + cout << "maxDepth: " << max_depth << endl; cout << "maxWeakCount: " << weak_count << endl; } @@ -139,7 +139,7 @@ bool CvCascadeBoostParams::scanAttr( const String prmName, const String val) { weight_trim_rate = (float) atof( val.c_str() ); } - else if( !prmName.compare( "-maxTreeDepth" ) ) + else if( !prmName.compare( "-maxDepth" ) ) { max_depth = atoi( val.c_str() ); }