1 | initial version |
Something is wrong either with your training data (samples/negatives) or with your training procedure. HR 1/FA 0 in the first stage means that the classifier locates the object with 100% accuracy after running only a single stage, with zero false alarms on negative images. With correct training, you will get HR 1/FA 1, with FA slowly decreasing with number of selected features. If FA drops below the margin you specified (default 0.5), the next stage is trained. This takes anywhere between minutes or hours to days, depending on the kind of classifier (Haar/LBP), number of sample images/negatives and number of stages to train.
This is a good tutorial to get started: http://coding-robin.de/2013/07/22/train-your-own-opencv-haar-classifier.html