OpenCV Error:Bad argument (Can not Get new Positive sample)
I am trying a cascade-training by using AdaBoost based haar-like features . Opencv_traincascade.exe is used . In the environment of Visual C++ Express 2010 + Opencv 2.4.4 , I start training by the follows :
The Error happened at the 11 stage ( the last stage for all 12 stages) ,like this
Can someone give me some advice and the reasons ? In addtion , I wonder the ratio between PositiveSamples and NegativeSamples ,and how to give a proper ratio ?Thanks a milion!
You should use much more positive images, also I suggest you to declare -minHitRate 0.999.