Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Cascade classifier, few questions

Hi, I've got a few questions about Haar cascade classifier (opencv_traincascade).

Let's say I've got 5000 positives and 10000 negatives(of various sizes) in my training set. After the training is done, detector still has some false and missed detections.

1)How will adding lots of false positives to the training set influence the cascade training? From my experience false positives could be eliminated, but with the drawback of missing more positives. Is there a better approach?

2)Importance of the order of negatives in .txt file? I reckon the important ones, like usual backgrounds and objects appearing the most should be placed first. So they could be eliminated in the first stages...some other suggestions?

3)Is there an optimal number of positives and negatives that are used for training? Also, same question for positives/negatives ratio?

Thanks!