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