Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Know how many people are on a video [closed]

So there it is, I want to get a camera video stream from a server, and be able to know how many people appear on it.

I can install any OS (MAC, Windows, Linux) on my server, use any API (free or paid) and any language (C++, php etc.) to do so.

I already found some interesting things, such as OpenCV but I think it's more useful for face recognizing than to know the number of people in a room...

Any help would be appreciated :)

like image 424
lightalex Avatar asked Aug 27 '13 09:08

lightalex


People also ask

How many people watch video on mute?

The results showed that 69 % people view video with sound off in public places and 25 % watch with sound off on private places.

How many people watch closed captions?

A recent study found that 91% of respondents said they had used closed captions while watching TV, and that it had a positive impact on their viewing experience.

Do people with ADHD use subtitles?

Combined ADHD is when a person has symptoms of inattention, hyperactivity, and impulsivity. Individuals with all these manifestations often see a closed captions benefit, especially in television or movies that require a longer focus on a narrative or lesson.

How many people watch videos with captions?

This suggests that 80% of television viewers used closed captions for reasons other than hearing loss, and that closed captions benefit many more than just those who require them for accessibility.


1 Answers

Use a human detector applied on each frame for basic statistic exports:

OpenCV has one already:

http://docs.opencv.org/doc/tutorials/objdetect/cascade_classifier/cascade_classifier.html

All you have to do is replace the face model with a human body (_fullbody.xml):

https://github.com/Itseez/opencv/tree/master/data/haarcascades

You can now export some statistics such as how many people per frame there are. To find how many unique individuals appeared in a sequence, you'll need a tracker. From there things get more difficult. You'll have to find something that suits your case. Tip: google for "multi-target tracking code" or similar.

like image 144
LovaBill Avatar answered Sep 29 '22 10:09

LovaBill