Ask Your Question

Revision history [back]

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 : image description

The Error happened at the 11 stage ( the last stage for all 12 stages) ,like this
image description

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!