1 | initial version |
You can try by training cascade detector by the different parts. You can apply human detection: http://www.magicandlove.com/blog/2011/08/26/people-detection-in-opencv-again/
and then apply the trained head and torso detectors on the resulting bounding box.