Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2024 Sep 18:10:e2273.
doi: 10.7717/peerj-cs.2273. eCollection 2024.

SPCANet: congested crowd counting via strip pooling combined attention network

Affiliations

SPCANet: congested crowd counting via strip pooling combined attention network

Zhongyuan Yuan. PeerJ Comput Sci. .

Abstract

Crowd counting aims to estimate the number and distribution of the population in crowded places, which is an important research direction in object counting. It is widely used in public place management, crowd behavior analysis, and other scenarios, showing its robust practicality. In recent years, crowd-counting technology has been developing rapidly. However, in highly crowded and noisy scenes, the counting effect of most models is still seriously affected by the distortion of view angle, dense occlusion, and inconsistent crowd distribution. Perspective distortion causes crowds to appear in different sizes and shapes in the image, and dense occlusion and inconsistent crowd distributions result in parts of the crowd not being captured completely. This ultimately results in the imperfect capture of spatial information in the model. To solve such problems, we propose a strip pooling combined attention (SPCANet) network model based on normed-deformable convolution (NDConv). We model long-distance dependencies more efficiently by introducing strip pooling. In contrast to traditional square kernel pooling, strip pooling uses long and narrow kernels (1×N or N×1) to deal with dense crowds, mutual occlusion, and overlap. Efficient channel attention (ECA), a mechanism for learning channel attention using a local cross-channel interaction strategy, is also introduced in SPCANet. This module generates channel attention through a fast 1D convolution to reduce model complexity while improving performance as much as possible. Four mainstream datasets, Shanghai Tech Part A, Shanghai Tech Part B, UCF-QNRF, and UCF CC 50, were utilized in extensive experiments, and mean absolute error (MAE) exceeds the baseline, which is 60.9, 7.3, 90.8, and 161.1, validating the effectiveness of SPCANet. Meanwhile, mean squared error (MSE) decreases by 5.7% on average over the four datasets, and the robustness is greatly improved.

Keywords: Channel attention; Convolutional neural network; Crowd counting; Spatial pooling.

PubMed Disclaimer

Conflict of interest statement

The authors declare there are no competing interests.

Figures

Figure 1
Figure 1. Structure of the SPCANet.
Figure 2
Figure 2. Diagram of NDloss.
Figure 3
Figure 3. Visualization of an example from Shanghai Part B dataset.
Figure 4
Figure 4. Visualization of an example from Shanghai Part A dataset.

Similar articles

References

    1. Abdelghany A, Abdelghany K, Mahmassani H, Alhalabi W. Modeling framework for optimal evacuation of large-scale crowded pedestrian facilities. European Journal of Operational Research. 2014;237(3):1105–1118. doi: 10.1016/j.ejor.2014.02.054. - DOI
    1. Almeida JE, Rosseti RJ, Coelho AL. Crowd simulation modeling applied to emergency and evacuation simulations using multi-agent systems. 20131303.4692
    1. Cao X, Wang Z, Zhao Y, Su F. Context for accurate and efficient crowd counting. Proceedings of the European conference on computer vision (ECCV); 2018a. pp. 734–750.
    1. Cao X, Wang Z, Zhao Y, Su F. Scale aggregation network for accurate and efficient crowd counting. Proceedings of the European conference on computer vision (ECCV); 2018b. pp. 734–750.
    1. Chan AB, Liang Z-SJ, Vasconcelos N. Privacy preserving crowd monitoring: counting people without people models or tracking. 2008 IEEE conference on computer vision and pattern recognition; Piscataway. 2008. pp. 1–7.

LinkOut - more resources