Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Maybe this documentation helps you further: http://docs.opencv.org/doc/tutorials/objdetect/cascade_classifier/cascade_classifier.html#cascade-classifier , it uses a trained cascade classifier for the frontalface (haarcascade_frontalface_alt.xml) and for the eyes (haarcascade_eye_tree_eyeglasses.xml), replace those two with the trained classifier for the fullbody (haarcascade_fullbody.xml) (note: it is located under <your-opencv-dir>/data/haarcascades/) and you'll detect people in your images.

Maybe this documentation helps you further: http://docs.opencv.org/doc/tutorials/objdetect/cascade_classifier/cascade_classifier.html#cascade-classifier , it uses a trained cascade classifier for the frontalface (haarcascade_frontalface_alt.xml) and for the eyes (haarcascade_eye_tree_eyeglasses.xml), replace those two with the trained classifier for the fullbody (haarcascade_fullbody.xml) (note: it is located under <your-opencv-dir>/data/haarcascades/) and you'll detect people in your images.

EDIT Args, just saw that you actually would like to have it for Android, unfortunately I don't have much clue about that, I am not sure if you can just use the C++ functionality. So maybe this post is not useful for you. I'll leave the post for reference.