How face detection is achieved using haarcascade_frontalcatface.xml

asked 2015-11-06 04:48:03 -0600

I want to know that how face detection is achieved in opencv using haarcascade_frontalcatface.xml files. As viola-jones face detector is implemented in opencv for face detection and it needs to be trained before testing. So my question is it trained primarily and some model is stored in these xml files or it is trained just when function is invoked for testing. If it is trained primarily then how training results are stored in these xml files. Please help! Thanks in advance.

edit retag flag offensive close merge delete



maybe this topic helps

sturkmen gravatar imagesturkmen ( 2015-11-06 05:51:42 -0600 )edit

those xml files are pre-trained models. see tutorials on how to use or train them.

berak gravatar imageberak ( 2015-11-06 05:53:33 -0600 )edit

Like @sturkmen linked, I have visualisations and explanations lying around. The book is officially published on monday and then I will put my open source work into the library. How the cat detector was trained, can be read in the book of Joe Howse, OpenCV for secret agents. He trained those models.

StevenPuttemans gravatar imageStevenPuttemans ( 2015-11-07 15:27:46 -0600 )edit