Skip to main content

Statistal Methods of Bus Passenger Flow Based on Improved YOLOv5s and DeepSORT Algorithms

  • Conference paper
  • First Online:
Computer Applications (CCF NCCA 2023)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 1960))

Included in the following conference series:

  • 89 Accesses

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%.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. 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)

    Google Scholar 

  2. 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)

    Google Scholar 

  3. 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

    Google Scholar 

  4. 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)

    Article  Google Scholar 

  5. 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)

    Google Scholar 

  6. Girshick, R.: Fast R-CNN. In: Proceedings of the IEEE International Conference on Computer Vision, pp. 1440–1448 (2015)

    Google Scholar 

  7. 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)

    Google Scholar 

  8. 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)

    Google Scholar 

  9. Redmon, J., Farhadi, A.: YOLO9000: better, faster, stronger. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 7263–7271 (2017)

    Google Scholar 

  10. Redmon, J., Farhadi, A.: Yolov3: an incremental improvement. arXiv preprint: arXiv:1804.02767 (2018)

  11. Bochkovskiy, A., Wang, C.Y., Liao, H.Y.M. Yolov4: optimal seed and accuracy of object detection. arXiv preprint: arXiv:2004.10934 (2020)

  12. Liu, W., et al.: SSD: single shot multibox detector. arXiv:1512.02325

  13. Fu, C.Y., et al.: DSSD: deconvolutional single shot detector (2017). arXiv:1701.06659

  14. Jenogn, J., Park, H., Kwak, N.: Enhancement of SSD by concatenating feature maps for object detection (2017). arXiv:1705.09587

  15. 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)

    Google Scholar 

  16. Li, Z.X., Zhou, F.Q.: FSSD: feature fusion single shot multibox detector (2017). arXiv:1712.00960

  17. Welch, G., Bishop, G.: An Introduction to the Kalman Filter. University of North Carolina at Chapel Hill, Chapel Hill, NC, USA (2001)

    Google Scholar 

  18. Comaniciu, D., Meer, P.: Mean shift: a robust approach toward feature space analysis. IEEE Trans. Pattern Anal. Mach. Intell. 24(5), 603–619 (2002)

    Article  Google Scholar 

  19. Bradski, G.R.: Computer vision face tracking for use in a perceptual user interface. Intel Technol. J. (1998)

    Google Scholar 

  20. 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)

    Google Scholar 

  21. 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)

    Google Scholar 

  22. Liu, Y., Shao, Z., Hoffmann, N.: Global attention mechanism: retain information to enhance channel-spatial interactions. arXiv preprint: arXiv:2112.05561 (2021)

  23. 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)

    Google Scholar 

  24. 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)

    Google Scholar 

  25. 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)

    Google Scholar 

  26. Ge, Z., et al.: Yolox: exceeding Yolo series in 2021. arXiv preprint: arXiv:2107.08430 (2021)

  27. Yu, G., et al.: PP-PicoDet: a better real-time object detector on mobile devices. arXiv preprint: arXiv:2111.00902 (2021)

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jinfan Yang .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics