Counting people in a moving crowd from a video

9 次查看(过去 30 天)
Hello, I would like to count the number of people from a video.
The cameraman films the crowd from above, and is walking through it, therefore the scene is moving, and the crowd too in the opposite direction.
The quality is similar to this image (Berlin 1989 crowd) : https://static01.nyt.com/images/2019/11/02/world/xxberlin-wall-archive-28/xxberlin-wall-archive-28-mobileMasterAt3x.jpg
I thought that I could separate the video into multiple images and count the number of people to have an estimation of it, but a proper video counter would be amazing too. I have seen some examples using python for a static scene, I wonder if there is a Matlab solution for a moving scene. I checked the computer vision toolbox, but it seems very dense with dozens of image classification techniques and I don't have any experience with computer vision, and a medium Matlab experience, so if someone could point me to the right direction, I would be thankful.
  4 个评论
MaHa
MaHa 2021-8-2
Thanks both, I will try my best. Do you have particular methods to recommend ?
Adam Danz
Adam Danz 2021-8-3
I don't but I would start by looking for examples. I'm sure this has been done before.

请先登录,再进行评论。

回答(1 个)

Ananya Tewari
Ananya Tewari 2021-8-4
编辑:Ananya Tewari 2021-8-4
Hi,
This could be a good demo for you to start. This example shows how to perform automatic detection and tracking of people in a video from a moving camera. Use this MATLAB command to open the example.
openExample('vision/PedestrianTrackingFromMovingCameraExample')

类别

Help CenterFile Exchange 中查找有关 Computer Vision Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by