PDA

View Full Version : Understanding Cascade Classifier Training OpenCV



virgosun
October 11th, 2016, 03:31 AM
Hi,

I am currently using OpenCV face detection in my Java code
I also tested some hand gesture detection
However I am not understand the algorithm how is the cascade "Those XML files are stored in opencv/data/haarcascades/ folder" created.
According to this API and look at the final image sequence?
http://docs.opencv.org/trunk/dc/d88/tutorial_traincascade.html
Does the XML files include correlation between features? For example horizontal line must be above a vertical line? Or do we have to provide such info? As in the priliminary tutoril they said for a face to be detected, there must be at least 6000 feature calculated
Pls correct me
Thanks
http://docs.opencv.org/trunk/visualisation_single_stage.png