Contains sample files for training OpenCV's cascade classifier to detect human outlines.
The samples are in-game screenshots from Counter-Strike 1.6.
A summarized file containing data from 1280 positive samples
Contains 1047 negative samples
Lists all the negative sample files in the neg directory
The location of the trained classifier
Copy all the files to same location as the opencv_traincascade file and run the following command:
opencv_traincascade -data output -vec person.vec -bg bg.txt -numPos 124 -numNeg 1047 -numStages 10 -h 64 -w 64
Feel free to tweak the last 5 parameters as per your requirements.
If you just want the final output file, you can find it in output/person-cascade.xml