From 5947519ff47da40caa2610216c701e1de6dcbffc Mon Sep 17 00:00:00 2001 From: Stephen Mell Date: Thu, 26 Jun 2014 10:28:47 -0800 Subject: [PATCH] Check sure that we're not already below required leaf false alarm rate before continuing to get negative samples. --- apps/traincascade/cascadeclassifier.cpp | 13 ++++++++----- apps/traincascade/cascadeclassifier.h | 4 ++-- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/apps/traincascade/cascadeclassifier.cpp b/apps/traincascade/cascadeclassifier.cpp index b1bd4fa004..d4015545fb 100644 --- a/apps/traincascade/cascadeclassifier.cpp +++ b/apps/traincascade/cascadeclassifier.cpp @@ -198,7 +198,7 @@ bool CvCascadeClassifier::train( const string _cascadeDirName, cout << endl << "===== TRAINING " << i << "-stage =====" << endl; cout << "