count the pedestrian amoun from image

I want to count the pedestrian amount from image.so I tried to detect the face and count the people. but it codes detect only front face pedestrian. but i want count all pedestrian there. my codes here. how can i do that. help me.

count the pedestrian amoun from image

I want to count the pedestrian amount from image.so I tried to detect the face and count the people. but it codes detect only front face pedestrian. but i want count all pedestrian there. my codes here. how can i do that. help me.