
Research on Improved Crowd Detection Based on YOLOv5
- 1 School of Computer Science, University of Xi'an for Polytechnic, Xian, China
- 2 College of Computer and Cyber Security, Chengdu University of Technology, Chengdu, China
- 3 School of Optical-Electrical and Computer Engineering, University of Shanghai for Science and Technology, Shanghai, China
* Author to whom correspondence should be addressed.
Abstract
With the acceleration of the process of modern urbanization and the improvement of residents' material living standards, the flow of people in the public space is gradually becoming saturated. The monitoring equipment in public places records a huge amount of people flow information all the time, but due to the crowds tend to be dense and crowded. Traditional machine learning cannot make accurate and efficient identification of a large number of dense crowds, if the deep learning technology can be used to process the crowded crowd captured by the surveillance camera and accurately identify the number of people in public places, it provides an important guarantee for the flow of people in public areas and safety construction. However, for crowded targets with occlusions, the traditional target detection algorithm sometimes performs poorly. Based on the above background, this paper introduces an enhanced deep learning framework utilizing the YOLOv5 neural network for crowd detection research. aiming at the characteristics of dense and crowded crowds in public areas. By improving convolutional layer C3 in the backbone structure of YOLOv5 neural network and adding CBAM attention mechanism. Compared with the original YOLOv5, the improved model has increased the maximum F1 value of crowd recognition at near, middle and far distances. To sum up, the deep learning framework improved by YOLOv5 neural network proposed in this paper has significantly improved the recognition accuracy of crowded people in public areas.
Keywords
YOLOv5, Crowds, Image recognition, CBAM attention mechanism
[1]. Jiang, X. K., Liao X. L. and Li Y. B. (2019). Regional crowd flow statistics based on Deep learning. Digital Users, 29(21), 165-167
[2]. Zhan, W. W. (2022). Design and implementation of crowd counting and anomaly detection system. Beijing: Beijing University of Technology.
[3]. Chen, B., Dai, S, L. and Ye, B, Y. (2023). Yolo-based social distancing detection method for people in public areas. Artificial intelligence and robotics research, 12(3), 10.12677/AIRR. 2023.123023
[4]. Cong, X, H., Li, S, X., Chen, F, K. and Meng, Y. (2023). An improved dense pedestrian detection algorithm based on YOLOv5. Computer science and applications, 13(6), 1199-1207
[5]. Wang, X., Dong, Q., Yang, G. Y. (2023). Crops diseases and insect pests recognition based on optimized CBAM improvement YOLOv5. Computer system application, 32 (7), 261-268. 10.15888 / j.carol carroll nki. Csa. 009175.
[6]. Li, X. P., Zhang, Y. B., Li Y. P., et al. (2023). An improved algorithm for infrared image target detection based on YOLOv5s. Laser & Infrared, 53(7), 1043-1051. 10.3969/j.issn.1001-5078.2023.07.010.
[7]. Pei, Y. H., Xu, L. M., & Zheng, B. C. (2022). Improved YOLOv5 for Dense Wildlife Object Detection. BiometricRecognition:16thChineseConference, 569-578.
[8]. Ji, D. J., and Cho, D. H. (2021). ChannelAttention: Utilizing Attention Layers for Accurate Massive MIMO Channel Feedback. IEEE Wireless Communications Letters, 10(5), 1079-1082. https://doi.org/10.1109/LWC.2021.3057934
[9]. You, C. (2021). Research on Smoke and Flame Image Classification Algorithm Based on BAN. Zhejiang Sci-Tech University.
[10]. Xu, H. H., Wang, X. Q., Wang, D., et al. (2023). Object detection in crowded scenes via joint prediction. Defense Technology, 21(3), 103-115.https://doi.org/10.3969/j.issn.2214-9147.2023.03.008
[11]. Hu, J., Shen, L., Albanie, S., Sun, G., and Wu, E. (2019). Squeeze-and-Excitation Networks. Computer Vision and Pattern Recognition. https://doi.org/10.48550/arXiv.1709.01507
Cite this article
Wen,Q.;Li,K.;Wang,Y. (2024). Research on Improved Crowd Detection Based on YOLOv5. Theoretical and Natural Science,41,16-24.
Data availability
The datasets used and/or analyzed during the current study will be available from the authors upon reasonable request.
Disclaimer/Publisher's Note
The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of EWA Publishing and/or the editor(s). EWA Publishing and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
About volume
Volume title: Proceedings of the 2nd International Conference on Mathematical Physics and Computational Simulation
© 2024 by the author(s). Licensee EWA Publishing, Oxford, UK. This article is an open access article distributed under the terms and
conditions of the Creative Commons Attribution (CC BY) license. Authors who
publish this series agree to the following terms:
1. Authors retain copyright and grant the series right of first publication with the work simultaneously licensed under a Creative Commons
Attribution License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this
series.
2. Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the series's published
version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial
publication in this series.
3. Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and
during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See
Open access policy for details).