Self-attention Guidance Based Crowd Localization and Counting

被引:1
作者
Ma, Zhouzhou [1 ,2 ]
Gu, Guanghua [1 ,2 ]
Zhao, Wenrui [1 ,2 ]
机构
[1] Yanshan Univ, Sch Informat Sci & Engn, Qinhuangdao 066000, Peoples R China
[2] Hebei Key Lab Informat Transmiss & Signal Proc, Qinhuangdao 066000, Peoples R China
基金
中国国家自然科学基金;
关键词
Crowd localization; crowd counting; transformer; point supervision; object detection; IMAGE; NETWORK;
D O I
10.1007/s11633-023-1428-6
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Most existing studies on crowd analysis are limited to the level of counting, which cannot provide the exact location of individuals. This paper proposes a self-attention guidance based crowd localization and counting network (SA-CLCN), which can simultaneously locate and count crowds. We take the form of object detection, using the original point annotations of crowd datasets as supervision to train the network. Ultimately, the center point coordinate of each head as well as the number of crowds are predicted. Specifically, to cope with the spatial and positional variations of the crowd, the proposed method introduces transformer to construct a globallocal feature extractor (GLFE) together with the convolutional structure. It establishes the near-to-far dependency between elements so that the global context and local detail features of the crowd image can be extracted simultaneously. Then, this paper designs a pyramid feature fusion module (PFFM) to fuse the global and local information from high level to low level to obtain a multiscale feature representation. In downstream tasks, this paper predicts candidate point offsets and confidence scores by a simple regression header and classification header. In addition, the Hungarian algorithm is used to match the predicted point set and the labelled point set to facilitate the calculation of losses. The proposed network avoids the errors or higher costs associated with using traditional density maps or bounding box annotations. Importantly, we have conducted extensive experiments on several crowd datasets, and the proposed method has produced competitive results in both counting and localization.
引用
收藏
页码:966 / 982
页数:17
相关论文
共 50 条
[41]   Vision Transformer Based on Reconfigurable Gaussian Self-attention [J].
Zhao L. ;
Zhou J.-K. .
Zidonghua Xuebao/Acta Automatica Sinica, 2023, 49 (09) :1976-1988
[42]   Finger Vein Recognition Based on ResNet With Self-Attention [J].
Zhang, Zhibo ;
Chen, Guanghua ;
Zhang, Weifeng ;
Wang, Huiyang .
IEEE ACCESS, 2024, 12 :1943-1951
[43]   A Self-attention Network Based Node Embedding Model [J].
Nguyen, Dai Quoc ;
Nguyen, Tu Dinh ;
Phung, Dinh .
MACHINE LEARNING AND KNOWLEDGE DISCOVERY IN DATABASES, ECML PKDD 2020, PT III, 2021, 12459 :364-377
[44]   Interpretable detector for cervical cytology using self-attention and cell origin group guidance [J].
Jiang, Peng ;
Liu, Juan ;
Feng, Jing ;
Chen, Hua ;
Chen, Yuqi ;
Li, Cheng ;
Pang, Baochuan ;
Cao, Dehua .
ENGINEERING APPLICATIONS OF ARTIFICIAL INTELLIGENCE, 2024, 134
[45]   HA-CCN: Hierarchical Attention-Based Crowd Counting Network [J].
Sindagi, Vishwanath A. ;
Patel, Vishal M. .
IEEE TRANSACTIONS ON IMAGE PROCESSING, 2020, 29 :323-335
[46]   CCTwins: A Weakly Supervised Transformer-Based Crowd Counting Method With Adaptive Scene Consistency Attention [J].
Dong, Li ;
Zhang, Haijun ;
Zhou, Dongliang ;
Shi, Jianyang ;
Ma, Jianghong .
IEEE TRANSACTIONS ON CONSUMER ELECTRONICS, 2024, 70 (01) :22-35
[47]   Fast intensive crowd counting model of Internet of Things based on multi-scale attention mechanism [J].
Liu, Dong ;
Wang, Zhiyong ;
Meng, Xiangjia .
IET IMAGE PROCESSING, 2025, 19 (01)
[48]   FSC-Set: Counting, Localization of Football Supporters Crowd in the Stadiums [J].
Elharrouss, Omar ;
Almaadeed, Noor ;
Abualsaud, Khalid ;
Al-Maadeed, Somaya ;
Al-Ali, Ali ;
Mohamed, Amr .
IEEE ACCESS, 2022, 10 :10445-10459
[49]   Adaptive Crowd Counting and Localization Method for Area-aware Calibration [J].
Chen, Yong ;
Zhang, Jiaojiao ;
Zhang, Wei .
Tiedao Xuebao/Journal of the China Railway Society, 2024, 46 (08) :78-88
[50]   A Depth-Guided Attention Strategy for Crowd Counting [J].
Chen, Hao ;
Li, Zhan ;
Bhanu, Bir ;
Lu, Dongping ;
Han, Xuming .
ARTIFICIAL NEURAL NETWORKS AND MACHINE LEARNING, ICANN 2023, PART X, 2023, 14263 :25-37