People counting implementation using OpenCV I need to implement people counting(head count) into one of the product.
I am able to detect faces and count them but only when the persons are actually looking into the camera, if they are not looking into it they will not be detected.

So, what I want is to an idea about detecting human rather than detecting only face.

I have gone through some algorithm like voila jones etc..but did not get anything useful.

It would be great if someone can share their experience or any code snippet to do so or any algorithm to help me out here.
This is an ongoing research problem, which is much more difficult to solve than face detection due to a gigantic variety of poses, angles, and other factors that play a role. This is usually done with image feature extraction on a large set of images followed by a supervised learning algorithm. In short, there's no unique answer, and there's definitely not a simple "code snippet" one could use for this task.

If you're implementing a specific algorithm, you could probably get better help here, but not at this point.