所以,它是,我想从服务器获取一个摄像机视频流,并能够知道有多少人出现在它。
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.
我可以在服务器上安装任何操作系统(MAC,Windows,Linux),使用任何API(免费或付费)和任何语言(C ++,php等)这样做。
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.
我已经找到一些有趣的东西,如OpenCV,但我认为它更有用的面部识别比知道一个房间里的人数...
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 :)
推荐答案每个框架的基本统计导出:
Use a human detector applied on each frame for basic statistic exports:
OpenCV已经有一个:
OpenCV has one already:
docs.opencv/doc/tutorials/objdetect/cascade_classifier/cascade_classifier.html
所有你需要做的是用人体(_fullbody.xml)替换面部模型:
All you have to do is replace the face model with a human body (_fullbody.xml):
github/Itseez/opencv/tree/master/data/haarcascade
您现在可以导出一些统计信息,例如每帧人物的方式。要查找序列中出现了多少个唯一的个人,您需要一个跟踪器。从那里的事情变得更加困难。你必须找到适合你的情况。提示:google为多目标跟踪代码或类似。
You can now export some statistics such as how 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.
更多推荐
了解视频的人数
发布评论