CNN-based Density Estimation and Crowd Counting: A Survey

Guangshuai Gao, Junyu Gao, Qingjie Liu, Qi Wang, Yunhong WangarXiv 2020

Abstract

Accurately estimating the number of objects in a single image is a challenging yet meaningful task and has been applied in many applications such as urban planning and public safety. In the various object counting tasks, crowd counting is particularly prominent due to its specific significance to social security and development. Fortunately, the development of the techniques for crowd counting can be generalized to other related fields such as vehicle counting and environment survey, if without taking their characteristics into account. Therefore, many researchers are devoting to crowd counting, and many excellent works of literature and works have spurted out. In this paper, we have surveyed over 220 works to comprehensively and systematically study the crowd counting models, mainly CNN-based density map estimation methods. Finally, according to the evaluation metrics, we select the top three performers on their crowd counting datasets and analyze their merits and drawbacks. Through our analysis, we expect to make reasonable inference and prediction for the future development of crowd counting, and meanwhile, it can also provide feasible solutions for the problem of object counting in other fields.

Introduction: The Challenge of Dense Crowds

The core challenge in crowd counting is accurately estimating the number of individuals in a single image, often under extreme conditions. Traditional computer vision techniques struggled with "dense" crowds where individuals are represented by only a few pixels and are frequently occluded. The primary hurdles identified in the literature include:

  • Scale Variation: Drastic changes in person size due to camera distance.
  • Occlusion: Overlapping bodies and heads in congested areas.
  • Perspective Distortion: Scene geometry warping appearance.
  • Complex Backgrounds: Non-human objects (e.g., trees, architecture) being misidentified as people.

Methodology and Taxonomy

The field has seen a significant transition from traditional hand-crafted features to modern deep learning approaches. Modern methods primarily focus on Density Map Estimation, where a network predicts a continuous map of crowd density rather than discrete counts.

Taxonomy of crowd counting approaches

As shown in the taxonomy above, approaches are broadly divided into traditional methods (detection, regression, or density estimation based on hand-crafted features) and modern CNN-based approaches which vary by architecture, supervision, and domain.

Evolution of CNN Architectures

A critical area of research is the design of network architectures to handle the aforementioned challenges, particularly scale variation.

Comparison of CNN architectures for crowd counting

Key architectural trends include:

  • Multi-column Networks (e.g., MCNN): These use different branches with varying kernel sizes to capture features at different scales.
  • Single-column Networks (e.g., CSRNet): These utilize dilated convolutions to expand the receptive field without losing resolution. Recent findings suggest that deeper single-column networks often outperform wider multi-column designs due to better efficiency and reduced feature redundancy.
  • Attention Mechanisms: Modules that help the network focus on crowd-likely regions while suppressing background noise.

Benchmarking and Datasets

The survey reviews a wide range of benchmarks, noting a shift from small, controlled scenes to massive, "in-the-wild" collections. Notable datasets include early small-scale sets like UCSD and Mall, medium-scale sets like ShanghaiTech and WorldExpo’10, and modern massive-scale benchmarks like UCF-QNRF and NWPU-Crowd. The latter introduced "negative samples" (images with no people) to test for false positive robustness.

CNN-based methods have achieved remarkable quantitative gains, reducing Mean Absolute Error (MAE) on benchmarks like ShanghaiTech Part A from approximately 300 (traditional methods) to under 60.

Key Insights and Future Directions

The analysis of over 220 works reveals several critical insights:

  • The Domain Gap: Models often fail when tested on datasets different from their training set. Addressing this "domain gap" through better adaptation techniques is a high priority.
  • Negative Sample Robustness: Including "distractor" images in training is essential to prevent over-counting in empty regions.
  • Supervision Evolution: There is a growing need to move from expensive point-level annotations to semi-supervised, self-supervised, or weakly supervised learning.
  • Efficiency: Developing lightweight, mobile-friendly models for real-time surveillance remains an open challenge.

Future work is expected to move beyond simple counting toward localization, tracking in video sequences, and leveraging temporal correlations for improved stability.

Summary updated

BibTeX
@misc{gao2020cnn,
  author = {Guangshuai Gao and Junyu Gao and Qingjie Liu and Qi Wang and Yunhong Wang},
  title = {{CNN-based Density Estimation and Crowd Counting: A Survey}},
  year = {2020},
  eprint = {2003.12783},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2003.12783},
}
Figure