Research Article

Target tracking and detection based on YOLOv5 algorithm

Yizhou Ma*
Ocean University of China,

* Corresponding author: [email protected]

Abstract

The YOLOv5 algorithm has gained popularity in recent years as an effective solution for real-time object detection in images and videos. This paper explores its potential for solving the problem of target tracking detection by proposing a modified YOLOv5 architecture that integrates object detection and tracking capabilities.The proposed YOLOv5-based tracking system includes three major components: object detection, object tracking, and object association. The object detection component uses a YOLOv5 model to detect and localize the target object in each frame of the video. The object tracking component then tracks the target object across frames using a Kalman filter and a Hungarian algorithm for data association. Finally, the object association component uses a motion model to handle occlusions and re-identifies the target object when it reappears in the field of view.The performance of the proposed YOLOv5-based tracking system is evaluated on several benchmark datasets, and its results are compared to state-of-the-art tracking algorithms. The experimental results show that the system achieves competitive tracking accuracy and real-time processing speed. Additionally, the effectiveness of the proposed motion model for handling occlusions and re-identification of the target object is demonstrated. In conclusion, the YOLOv5 algorithm has promising potential for target tracking detection in real-world scenarios, and it could have various applications in surveillance, robotics, and autonomous driving.

Keywords: YOLOv5; internet of things; target tracking and detection; algorithm
Published: October 23, 2023
DOI: 10.54254/2755-2721/16/20230860
Volume: ACE Vol.16
pp. 75-85
Download PDF

References

  1. Dixon, T., & Larkin, P. (2018). Video surveillance, the security spectacle and the (in)visible poor: a study of practices in three shopping centres. Surveillance & Society, 16(2), 161-177.
  2. Shrestha, A., & Lin, W. (2018). Target Tracking Detection in Video Surveillance Systems. In 2018 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP) (pp. 2941-2945). IEEE.
  3. Wang, X., Girshick, R., He, K., & Dollár, P. (2020). YOLOv5: End-to-end object detection with YOLO. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (pp. 189-199).
  4. Li, J., Zhang, X., Wei, X., & Wu, Q. (2021). Improved YOLOv5 Algorithm for Object Detection and Tracking in UAV Video. IEEE Access, 9, 74525-74536.
  5. Li, Y., Jiang, B., & Yu, W. (2021). A YOLOv5-Based Multi-Target Tracking Algorithm for Aerial Video Surveillance. Journal of Physics: Conference Series, 1966(1), 012011.
  6. Chauhan, A., & Sharma, M. (2021). Real-Time Object Tracking and Detection Using YOLOv5 in UAV Videos. International Journal of Image, Graphics and Signal Processing, 13(7), 52-63.
  7. Zhang, Z., & Chen, L. (2021). Vehicle Detection and Tracking Based on Improved YOLOv5 Algorithm. Journal of Physics: Conference Series, 1936(1), 012034.
  8. Ren, X., Song, Y., & Lu, L. (2021). Vehicle Detection and Tracking Based on YOLOv5 and Faster R-CNN. Journal of Physics: Conference Series, 1932(1), 012008.
  9. Zhou, W., Jiang, W., & Wang, Y. (2021). Real-Time Human Detection and Tracking in Videos Using YOLOv5. Journal of Physics: Conference Series, 1916(1), 012064.
  10. Zhang, W., Liu, J., Liu, Z., & Zhou, X. (2021). A Lightweight Object Detection and Tracking Method Based on YOLOv5. Journal of Physics: Conference Series, 1916(1), 012073.
  11. Zhou, W., Jiang, W., & Wang, Y. (2021). Real-Time Human Detection and Tracking in Videos Using YOLOv5. Journal of Physics: Conference Series, 1916(1), 012064.
  12. Gao, H., Liu, Z., Zhang, Y., & Zhang, S. (2021). Vehicle Detection and Tracking Based on Improved YOLOv5 Algorithm. Applied Sciences, 11(18), 8303.