Crowd Counting Based on MMCNN in Still Images

Tao Wang, Guohui Li, Jun Lei, Shuo Li, Shukui XuLecture Notes in Computer Science 2017 · DOI · OpenAlex

Abstract

Crowd counting in dense environments is a critical task for public safety and urban planning. This paper introduces the Multi-task Multi-column Convolutional Neural Network (MMCNN), an architecture designed to overcome challenges such as perspective distortion and severe occlusion. By integrating perspective-adaptive Gaussian kernels and an iterative multi-task learning strategy, MMCNN achieves superior performance on the WorldExpo’10 dataset, reaching a Mean Absolute Error (MAE) of 9.6.

Introduction

Accurately estimating the number of people in a crowd is essential for monitoring public gatherings and preventing hazardous situations like stampedes. However, computer vision models face significant hurdles: perspective distortion causes people at different distances to appear at varying scales, and high density leads to severe occlusions where only heads are visible. While previous deep learning approaches like Multi-column CNNs (MCNN) attempted to address scale variation, they often failed to account for the geometric "squashing" of heads due to perspective and struggled with training convergence.

The MMCNN Framework

The proposed MMCNN architecture builds upon the multi-column approach but introduces three significant enhancements:

  1. Perspective-Adaptive Gaussian Kernels: Instead of using uniform circular blobs for ground-truth density maps, MMCNN employs elliptical kernels. These kernels adapt their shape and size based on a perspective map, more accurately modeling the appearance of human heads under distortion.
  2. Spatial Feature Merging: To combine features from different columns, MMCNN uses $3 \times 3$ convolutional filters instead of the standard $1 \times 1$ filters. This allows the network to capture local spatial context during the merging process.
  3. Iterative Multi-task Learning: The model simultaneously optimizes for density map estimation (spatial localization) and global crowd counting (numerical regression). An iterative switching process between these tasks helps the model avoid poor local optima and improves overall accuracy.
Visualization of crowd scenes, ROI areas, and predicted density maps across different test scenarios.

Experimental Results

The MMCNN was evaluated on the WorldExpo’10 dataset, which contains 1,132 annotated video sequences from 108 surveillance cameras. The results demonstrate that MMCNN significantly outperforms baseline models.

  • Overall Performance: MMCNN achieved an average MAE of 9.6, a notable improvement over the standard MCNN (11.6) and other CNN-based methods (12.9).
  • Perspective Robustness: The model showed its greatest gains in scenes with high perspective distortion (Scenes 3 and 4), where MAE was reduced by 30-40% compared to competitors.

Limitations and Future Work

Despite its success, the model encountered difficulties in specific scenarios, such as Scene 5. In this case, the presence of many individuals with hats or umbrellas interfered with the head-centric perspective-adaptive kernels.

A crowd scene illustrating challenges such as umbrellas and varying accessories that can impact counting accuracy.

Future research will focus on enhancing the robustness of kernel generation to handle diverse accessories and varying lighting conditions, as well as extending the framework for real-time video analysis.

Conclusion

MMCNN provides a robust solution for crowd counting by effectively addressing perspective distortion and occlusion through adaptive kernels and multi-task learning. Its performance on large-scale benchmarks underscores its potential for real-world surveillance applications.

Summary updated

BibTeX
@inproceedings{wang2017crowd,
  author = {Tao Wang and Guohui Li and Jun Lei and Shuo Li and Shukui Xu},
  title = {{Crowd Counting Based on MMCNN in Still Images}},
  booktitle = {Lecture Notes in Computer Science},
  year = {2017},
  doi = {10.1007/978-3-319-59126-1\_39},
}
Figure