DACNet: A Density-Adaptive Counting Network for Real-World Crowd Analysis Without Overhead

Jian‐Ping Yue, Bohuan Xue, Wen‐Li Wu, Rui Fan, Xiaoyu TangIEEE Sensors Journal 2025

Abstract

In practical applications of crowd counting, the density and scale of human heads often vary significantly due to the influence of the camera’s perspective effect. Point-based methods fail to consider crowd density variations and face issues with inaccurate matching. Inspired by the spatial perception function of the posterior parietal cortex in the human brain, this paper proposes a Density-Adaptive Counting Network (DACNet), which assists object counting through auxiliary points. First, we propose a lightweight Detail Enhancement Mamba Block (DEmamba Block), which combines convolution and State Space Models (SSM) to enhance blurred details in densely crowded regions. Secondly, we propose a plug-and-play Adaptive Channel Focus Module (ACFM). ACFM introduces a channel weight selection algorithm, leveraging the advantages of multiple weights. Finally, we propose a Density-Adaptive Auxiliary Point Guidance (DA-APG) strategy in the detection head. DA-APG generates positive and negative auxiliary points at varying distances around the ground truth points based on crowd density as additional supervisory signals, addressing the issue of crowd density variation. Moreover, this DA-APG strategy is only applied during training, and does not incur additional computational cost. To facilitate research on crowd density variations in real-world scenarios, we introduce a specialized dataset named VariDensity-CC. Experiments on nine datasets show that DACNet achieves the best overall balance between accuracy and speed. Furthermore, DACNet has been deployed on edge computing devices for real-world testing and demonstrates real-time performance. The code and dataset are available at: https://github.com/SCNU-RISLAB/DACNet.
BibTeX
@article{yue2025dacnet,
  author = {Jian‐Ping Yue and Bohuan Xue and Wen‐Li Wu and Rui Fan and Xiaoyu Tang},
  title = {{DACNet: A Density-Adaptive Counting Network for Real-World Crowd Analysis Without Overhead}},
  journal = {IEEE Sensors Journal},
  year = {2025},
  doi = {10.1109/jsen.2025.3625467},
}

Loading related content...

Figure