Parameters for OpenCV alt2 haar cascade [closed]

asked 2014-10-16 10:34:43 -0500

jcheney44 gravatar image

updated 2020-12-06 05:32:34 -0500


I have recently started training my own face detection haar cascades with OpenCV. I have a large collection of positive images (~3000) and negative images (~3000) but I am getting very poor results. I am worried that I am not setting the parameters properly and it is having a strong negative effect on my accuracy. To verify this, I have been looking for the parameters OpenCV used to train the alt2 haar cascade model (the most accurate face detection model). I have looked through the source and I don't think OpenCV releases these parameters by default. Does anyone know what they are?

Thanks so much!

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by sturkmen
close date 2020-10-06 07:59:57.142648


As seen in the model itself, it is created by Prof. Rainer Lienhart. Why not contact him or read his HAAR wavelet papers to find out the correctly used parameters?

StevenPuttemans gravatar imageStevenPuttemans ( 2014-10-17 04:27:09 -0500 )edit