How to reproduce haarcascade_frontalface_alt.xml

asked 2015-01-22 20:19:45 -0500

samuel_1208 gravatar image

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

edit retag flag offensive close merge delete

Comments

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.

StevenPuttemans gravatar imageStevenPuttemans ( 2015-01-23 08:26:15 -0500 )edit