Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Number of stages or maxFalseAlarmRate?

Hi all,

I'm working on training a set of classifiers with opencv_traincascade to recognize a few handwritten characters.

I started out working with some typical defaults that I've found online: minHitRate 0.99 maxFalseAlarmRate 0.5 numStages 20

I observed that the stages take progressively longer to train--so I wanted to ask: Is it better to cut the maxFalseAlarm rate and run fewer stages? In what situations is it better or worse?

My next run will be relaxing these parameters to see how quickly the classifier can train (and if the performance is acceptable) with: minHitRate 0.97 maxFalseAlarmRate 0.2 numStages 5

I'm going to do what I can to get a quick set of classifiers trained that's good enough for testing, and then see about training a new set with higher accuracy over a longer period of time.