了解视频的人数

编程入门 行业动态 更新时间:2024-10-26 18:26:48
本文介绍了了解视频的人数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

所以,它是,我想从服务器获取一个摄像机视频流,并能够知道有多少人出现在它。

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.

更多推荐

了解视频的人数

本文发布于:2023-11-29 19:21:32,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1647388.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:人数   视频

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!