1 | initial version |
Like @GilLevi already pointed out, you are looking to the wrong set of algorithms. You need a body part detection algorithm designed for these purposes. Techniques that come in mind to me are
But keep in mind that these techniques are active research topics, quite complex and they will not be available off the shelf in OpenCV. There is a basic LatentSVM detector class but it works rather slow and is totally not optimized (was based on the first implementation of Felzenszwalb)