analytic choice of parameters in traincascade

asked 2016-06-09 10:10:22 -0600

cv_enthusiast gravatar image

Hey there,

I want to know, how can i find an analytic and scientific way to find the best parameters when training a cascade in opencv_traincascade? (let's just talk about: Stages, minHitRate and maxFalseAlarmRate)

I mean, I don't want to experiment by any gut instincts, instead it should be a reasonable line that my experiments are following with the result that this parameters are kind of optimal (I know i can't solve the error rates completly and the right parameters depend from case to case).

Would be also good if you can recommend me some good literature for that topic.

Thanks for your time guys!

Kind regards, cv_enthusiast

edit retag flag offensive close merge delete

Comments

1

You can read the original paper that introduces the method: Robust Real-Time Face Detection. You should find the relation between number of stages, hit rate and stage max false alarm rate.

Another good article in my opinion: An Analysis of the Viola-Jones Face Detection Algorithm.

Eduardo gravatar imageEduardo ( 2016-06-09 11:37:12 -0600 )edit

Hey thanks! I like these papers. But about the choice of the right parameters they write following: "Unfortunately finding this optimum is a tremendously difficult problem."

Can anybody explain why?

cv_enthusiast gravatar imagecv_enthusiast ( 2016-06-10 08:50:18 -0600 )edit