23 June 2021 Crowd counting method based on cross column fusion attention mechanism
Xiao Cui, Zhi-Feng Zhang, Qian Zheng, Jie Cao
Author Affiliations +
Abstract

Deep learning has made substantial progress in crowd density estimation, but there are still some problems in existing methods, such as large population density, background interference, and scale change, which makes it difficult to count people. To solve the above problems, we proposed a crowd counting method based on a cross column fusion attention mechanism. First, the first ten layers of VGG16 with good migration ability and feature extraction ability are used as the front-end network to preliminarily extract human head features. Then, a cross column fusion attention module is designed. In this module, feature maps are fused across columns to make the network contain richer deep and shallow features. At the same time, to alleviate the background interference, the attention mechanism is used to guide the network to focus on the head position in the picture, and different weights are assigned to different positions according to the attention score map, so as to highlight the crowd and weaken the background, and finally get a high-quality density map. In addition, a shallow convolution module is designed as another branch. The output feature map of the shallow convolution module and the output feature map of the attention module of cross column fusion are fused to solve the problem of scale change effectively. Finally, in the last layer of the network, the convolution layer of 1  ×  1 is used to replace the full connection layer, and fewer network parameters are used to reduce the calculation and the population density map is regressed. The experimental results show that the mean absolute error and mean square error of the proposed algorithm are significantly reduced compared with the comparison algorithm.

© 2021 SPIE and IS&T 1017-9909/2021/$28.00 © 2021 SPIE and IS&T
Xiao Cui, Zhi-Feng Zhang, Qian Zheng, and Jie Cao "Crowd counting method based on cross column fusion attention mechanism," Journal of Electronic Imaging 30(3), 033032 (23 June 2021). https://doi.org/10.1117/1.JEI.30.3.033032
Received: 14 October 2020; Accepted: 7 June 2021; Published: 23 June 2021
Advertisement
Advertisement
RIGHTS & PERMISSIONS
Get copyright permission  Get copyright permission on Copyright Marketplace
KEYWORDS
Convolution

Head

Image fusion

Image processing

Feature extraction

Distortion

Performance modeling

RELATED CONTENT

Detection of insulator defects based on improved YOLOv7 model
Proceedings of SPIE (December 22 2022)
Single shot relation detector for pedestrian detection
Proceedings of SPIE (August 14 2019)

Back to Top