人群密度检测我要分享

Crowd density detection

关注次数: 240

下载次数: 0

文件大小: 12.16 kB

代码分类: 其他

开发平台: matlab

下载需要积分: 2积分

版权声明:如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

代码描述

中文说明:基于像素的人流密度检测方法核心思想是,人群密度越高边缘像素点在图像中所占比例越大,人数越多的前景像素点占图像比例越高,即通过人群边缘像素来量化人群密度。前景人数与前景像素比例或者边缘像素比例成正比。因此,可以通过统计图像中人群前景的总像素数来确定人数。


English Description:

The core idea of pixel based crowd density detection method is that the higher the crowd density, the larger the proportion of edge pixels in the image, and the larger the number of foreground pixels in the image, that is, the crowd density is quantified by crowd edge pixels. The number of foreground people is proportional to the proportion of foreground pixels or edge pixels. Therefore, the number of people can be determined by counting the total number of pixels in the foreground of the crowd in the image.


代码预览

相关推荐