Abstract
Aiming at the problem of low tracking accuracy in the statistics of bus passengers getting on and off, an improved passenger flow statistics algorithm based on YOLOv5s combined with DeepSORT is proposed. The GAM integrated into Group Convolution and ChannelShuffle is integrated with the backbone and neck parts of the YOLOv5s network structure to enhance the network feature extraction capability. The Decoupled Head is replaced by the YOLOv5s detection head to improve the detection accuracy of passengers in crowded situations. Alpha-IoU is used as the target frame regression loss to further improve the positioning accuracy. The improved YOLOv5s is connected with DeepSORT, and detection lines are set up in the monitoring video of the front and rear doors of the bus to count the flow of passengers getting on and off. The experimental results show that our algorithm in this paper is 1.1% and 8.5% higher than the YOLOv5s algorithm in mAP0.5 and mAP.5:.95, respectively. After connecting DeepSORT, the passenger flow statistics in the scene of getting on and off the bus, the accuracy rate reached 96.8% and 98.1%.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Cao, X., Wu, C., Yan, P., et al.: Linear SVM classification using boosting HOG features for vehicle detection in low-altitude airborne videos. In: 2011 18th IEEE International Conference on Image Processing, ICIP, 29 December, 2011, pp. 2421–2424. IEEE, Piscataway (2011)
Wang, X., Han, T.X., Yan, S.: An HOG-LBP human detector with partial occlusion handling. In: 2009 IEEE 12th International Conference on Computer Vision, ICCV, 2 October 2009, pp. 32–39. IEEE, Piscataway (2009)
kazemi, F.M., et al.: Vehicle recognition using curvelet transform and SVM. In: Fourth International Conference on Information Technology (ITNG’07), ITNG 2007. IEEE, Piscataway (2007), pp. 516–521
Wu, S., Nagahashi, H.: Parameterized adaBoost: introducing a parameter to speed up the training of real AdaBoost. IEEE Sign. Proc. Lett. 21(6), 687–691 (2014)
Girshick, R., et al.: Rich feature hierarchies for accurate object detection and semantic segmentation. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 580–587 (2014)
Girshick, R.: Fast R-CNN. In: Proceedings of the IEEE International Conference on Computer Vision, pp. 1440–1448 (2015)
Ren, S., et al.: Faster R-CNN: towards real-time object detection with region proposal networks. In: Advances in Neural Information Processing Systems, vol. 28 (2015)
Redmon, J., et al.: You only look once: unified, real-time object detection. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 779–788 (2016)
Redmon, J., Farhadi, A.: YOLO9000: better, faster, stronger. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 7263–7271 (2017)
Redmon, J., Farhadi, A.: Yolov3: an incremental improvement. arXiv preprint: arXiv:1804.02767 (2018)
Bochkovskiy, A., Wang, C.Y., Liao, H.Y.M. Yolov4: optimal seed and accuracy of object detection. arXiv preprint: arXiv:2004.10934 (2020)
Liu, W., et al.: SSD: single shot multibox detector. arXiv:1512.02325
Fu, C.Y., et al.: DSSD: deconvolutional single shot detector (2017). arXiv:1701.06659
Jenogn, J., Park, H., Kwak, N.: Enhancement of SSD by concatenating feature maps for object detection (2017). arXiv:1705.09587
Shen, Z., et al.: DSOD: learning deeply supervised object detectors from scratch. In: IEEE International Conference on Computer Vision (ICCV), vol. 212, pp. 1937–1945 (2017)
Li, Z.X., Zhou, F.Q.: FSSD: feature fusion single shot multibox detector (2017). arXiv:1712.00960
Welch, G., Bishop, G.: An Introduction to the Kalman Filter. University of North Carolina at Chapel Hill, Chapel Hill, NC, USA (2001)
Comaniciu, D., Meer, P.: Mean shift: a robust approach toward feature space analysis. IEEE Trans. Pattern Anal. Mach. Intell. 24(5), 603–619 (2002)
Bradski, G.R.: Computer vision face tracking for use in a perceptual user interface. Intel Technol. J. (1998)
Liu, L., et al.: A technology for automatically counting bus passenger based on YOLOv2 and MIL algorithm. In: 2020 IEEE 5th International Conference on Image, Vision and Computing (ICIVC) pp. 166–170 (2020)
You, X., et al.: Research on bus passenger flow statistics based on video images. In: 2021 2nd International Conference on Electronics, Communications and Information Technology (CECIT), pp. 937–942. IEEE (2021)
Liu, Y., Shao, Z., Hoffmann, N.: Global attention mechanism: retain information to enhance channel-spatial interactions. arXiv preprint: arXiv:2112.05561 (2021)
Zhang, X., et al.: ShuffleNet: an extremely efficient convolutional neural network for mobile devices. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 6848–6856 (2018)
Lin, T.Y., et al.: Focal loss for dense object detection. In: Proceedings of the IEEE International Conference on Computer Vision, pp. 2980–2988 (2017)
Tian, Z., et al.: FCOS: fully convolutional one-stage object detection. In: Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 9627–9636 (2019)
Ge, Z., et al.: Yolox: exceeding Yolo series in 2021. arXiv preprint: arXiv:2107.08430 (2021)
Yu, G., et al.: PP-PicoDet: a better real-time object detector on mobile devices. arXiv preprint: arXiv:2111.00902 (2021)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Yang, J., Wang, X. (2024). Statistal Methods of Bus Passenger Flow Based on Improved YOLOv5s and DeepSORT Algorithms. In: Zhang, M., Xu, B., Hu, F., Lin, J., Song, X., Lu, Z. (eds) Computer Applications. CCF NCCA 2023. Communications in Computer and Information Science, vol 1960. Springer, Singapore. https://doi.org/10.1007/978-981-99-8761-0_18
Download citation
DOI: https://doi.org/10.1007/978-981-99-8761-0_18
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-99-8760-3
Online ISBN: 978-981-99-8761-0
eBook Packages: Computer ScienceComputer Science (R0)