Comparative Evaluation of YOLOv5, YOLOv7, and YOLOv8 for Outdoor Traffic Object Detection

Authors

  • Refi Riduan Achmad Informatics Engineering, Nahdlatul Ulama University of East Kalimantan
  • Muhammad Abil Informatics Engineering, Nahdlatul Ulama University of East Kalimantan
  • Muhammad Raihan Fadhilah Informatics Engineering, Nahdlatul Ulama University of East Kalimantan
  • Sandi Informatics Engineering, Nahdlatul Ulama University of East Kalimantan

DOI:

https://doi.org/10.62951/ijamc.v3i2.291

Keywords:

YOLO, Object Detection, Traffic Monitoring, Precision–Recall Analysis, Deep Learning

Abstract

Object detection plays a crucial role in intelligent transportation systems, particularly for outdoor traffic monitoring applications that require accurate and real-time performance under limited computational resources. Recent developments in YOLO-based architectures have introduced multiple model variants; however, their practical performance under constrained training conditions remains insufficiently explored. This study presents a comparative evaluation of YOLOv5, YOLOv7, and YOLOv8 for outdoor traffic object detection using a real-world dataset and identical experimental settings. The main objective of this research is to analyze the robustness and detection quality of different YOLO variants when trained with a limited number of epochs, reflecting practical deployment scenarios. All models were trained and evaluated using the same dataset, preprocessing pipeline, and hardware configuration to ensure a fair comparison. Performance evaluation was conducted using multiple metrics, including precision, recall, mAP@50, Precision–Recall curves, area under the curve (AUC), and peak F1-score. Experimental results indicate that YOLOv5 outperformed YOLOv7 and YOLOv8 in terms of overall detection stability and robustness. The merged Precision–Recall analysis shows that YOLOv5 achieved a higher effective AUC and superior mAP@50, reflecting better global detection performance. In addition, YOLOv5 exhibited a higher peak F1-score, indicating a more balanced trade-off between precision and recall. In contrast, YOLOv7 and YOLOv8 showed performance degradation under limited training conditions despite their more advanced architectures. These findings suggest that YOLOv5 remains a reliable and efficient solution for outdoor traffic object detection, particularly in resource-constrained environments. The study highlights the importance of comprehensive evaluation metrics and practical experimental settings when selecting object detection models for real-world applications.

References

Bochkovskiy, A., Wang, C. Y., & Liao, H. Y. M. (2020). YOLOv4: Optimal speed and accuracy of object detection. arXiv preprint arXiv:2004.10934. https://arxiv.org/abs/2004.10934

Chen, L. C., Papandreou, G., Kokkinos, I., Murphy, K., & Yuille, A. L. (2018). DeepLab: Semantic image segmentation with deep convolutional nets, atrous convolution, and fully connected CRFs. IEEE Transactions on Pattern Analysis and Machine Intelligence, 40(4), 834–848. https://doi.org/10.1109/TPAMI.2017.2699184

Jocher, G., Chaurasia, A., & Qiu, J. (2021). YOLOv5. Zenodo. https://doi.org/10.5281/zenodo.3908559

Jocher, G., Chaurasia, A., Qiu, J., et al. (2022). YOLOv5 by Ultralytics. GitHub repository. https://github.com/ultralytics/yolov5

Redmon, J., & Farhadi, A. (2018). YOLOv3: An incremental improvement. arXiv preprint arXiv:1804.02767. https://arxiv.org/abs/1804.02767

Redmon, J., Divvala, S., Girshick, R., & Farhadi, A. (2016). You only look once: Unified, real-time object detection. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 779–788. https://doi.org/10.1109/CVPR.2016.91

Wang, C. Y., Bochkovskiy, A., & Liao, H. Y. M. (2023). YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 7464–7475. https://doi.org/10.1109/CVPR52729.2023.00720

Ultralytics. (2023). YOLOv8 documentation. https://docs.ultralytics.com

Zhao, Z. Q., Zheng, P., Xu, S. T., & Wu, X. (2019). Object detection with deep learning: A review. IEEE Transactions on Neural Networks and Learning Systems, 30(11), 3212–3232. https://doi.org/10.1109/TNNLS.2018.2876865

Downloads

Published

2026-04-09

How to Cite

Achmad, R. R., Abil, M., Fadhilah, M. R., & Sandi. (2026). Comparative Evaluation of YOLOv5, YOLOv7, and YOLOv8 for Outdoor Traffic Object Detection. International Journal of Applied Mathematics and Computing, 3(2), 32–39. https://doi.org/10.62951/ijamc.v3i2.291

Similar Articles

1 2 3 4 > >> 

You may also start an advanced similarity search for this article.