How to reproduce haarcascade_frontalface_alt.xml [closed]
Recently I try to train a face detector by train_cascade program. I use 10000 Positives, FP=0.5, TP=0.995 RAB and wekerdepth=1. I found the number of weak classifiers in the first cascade stage is around 100(I just give some very simple negatives image like blackboard) . But there are only 3 weak classifiers of the first stage in haarcascade_frontalface_alt.xml
That is because of the fact that your data set is probably much larger and more diverse. Also it all depends on how strictly you are configuring your weak classifier stages by minHitRate and maxFalseAlarmrate parameters.