Road pedestrian detection and tracking algorithm based on improved YOLOv5s and DeepSORT
Guofeng Qin,
Rongting Pan,
Yi Deng,
Peiwen Mi and
Yongjian Zhu
PLOS ONE, 2025, vol. 20, issue 11, 1-16
Abstract:
To address the challenges of low accuracy, high miss detection rate, and poor tracking stability in pedestrian detection and tracking under dense occlusion and small object scenarios on traffic roads, this paper proposes a pedestrian detection and tracking algorithm based on improved YOLOv5s and DeepSORT. For the improvements in the YOLOv5s detection network, first, the Focal-EIoU loss function is used to replace the CIoU loss function. Second, a 160 × 160-pixel Small Object (SO) detection layer is added to the Neck structure. Finally, the Multi-Head Self-Attention (MHSA) mechanism is introduced into the Backbone network to enhance the model’s detection performance. Regarding the improvements in the DeepSORT tracking framework, a lightweight ShuffleNetV2 network is integrated into the appearance feature extraction network, reducing the number of model parameters while maintaining accuracy. Experimental results show that the improved YOLOv5s achieves an mAP0.5 of 80.8% and an mAP0.5:0.95 of 49.7%, representing increases of 4.4% and 3.9%, respectively, compared to the original YOLOv5s. The enhanced YOLOv5s-DeepSORT achieves an MOTA of 50.7% and an MOTP of 77.3%, improving by 3.3% and 0.5%, respectively, over the original YOLOv5s-DeepSORT. Additionally, the number of identity switches (IDs) is reduced by 11.3%, and the model size is reduced to 20% of the original algorithm, enhancing its portability. The proposed method demonstrates strong robustness and can effectively track targets of different sizes.
Date: 2025
References: View complete reference list from CitEc
Citations:
Downloads: (external link)
https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0334786 (text/html)
https://journals.plos.org/plosone/article/file?id= ... 34786&type=printable (application/pdf)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:plo:pone00:0334786
DOI: 10.1371/journal.pone.0334786
Access Statistics for this article
More articles in PLOS ONE from Public Library of Science
Bibliographic data for series maintained by plosone ().