A comparative analysis of YOLOv5 and YOLOv7 object detecting models for speed-limit traffic-sign recognition

Abstract Traffic sign recognition is a key element in automatic driver assist systems and autonomous vehicles, significantly improving driver’s comfort and driving safety. The You Only Look Once (YOLO) family of deep-learning-based object-detection algorithm has been widely adopted due to their real-time capabilities and ease of implementation. In this study, we compared the performance of Small-YOLOv5 and Tiny-YOLOv7, two recent variants of the YOLO architecture, on various traffic sign detection benchmarks. Our evaluation focused on three aspects: accuracy, speed/inference time and performance/computational complexity. The two models of YOLOv5 and YOLOv7 were trained with the same data set which consists of 3206 images representative for 7 different speed-limit signs including 50, 60, 70, 80, 90, 100 and 120 km/h, 2 signs of residential area entrance and exit, and 1 sign of all-limit removal. These images were collected in various real-life environmental conditions such as daylight, nighttime, rain, and motion blur from a Raspberry Pi V2 8MP Camera with a resolution of 3280x2464 pixels and a focal length of 3.04 mm. Comparisons were conducted in different scenarios of image quality, distance from camera, and computer resources. In terms of image quality, performance decreased significantly as image quality dropped with YOLOv5, especially in low light, blurry images, and bad weather. Meanwhile, YOLOv7 maintained better performance in various environmental conditions. YOLOv7 was found to be more stable and reliable than YOLOv5 when image quality dropped. In terms of speed/processing time, when running on a system with high resources (such as Google Colab T4), YOLOv7 outperformed YOLOv5 in speed/inference time. On low-end resources (Jetson Nano), YOLOv7 was also slightly better than YOLOv5. Finally, YOLOv7 was able to maintain better performance than YOLOv5 when the subject was at different distances from the camera. The findings of this study suggested that the Tiny-YOLOv7, when combined with a high-level computing platform, could be beneficial for real-time traffic sign recognition.

Authors

Institutions

Publication Details

Journal
Journal of Physics Conference Series
Published
2025-02-01
DOI
https://doi.org/10.1088/1742-6596/2949/1/012022
Citations
1
Primary Topic
Advanced Neural Network Applications
Type
article
Field-Weighted Citation Impact
1.28
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A comparative analysis of YOLOv5 and YOLOv7 object detecting models for speed-limit traffic-sign recognition

Lam Quang Tran, Tan Minh Hung Truong, Long Tran Dang, Phi Duong Ly et al.
1 citations
Journal of Physics Conference Series
Advanced Neural Network Applications
1.28
article

A comparative analysis of YOLOv5 and YOLOv7 object detecting models for speed-limit traffic-sign recognition

Lam Quang Tran, Tan Minh Hung Truong, Long Tran Dang, Phi Duong Ly, Phi Lam Nhat
article en
1 citations

Abstract

Abstract Traffic sign recognition is a key element in automatic driver assist systems and autonomous vehicles, significantly improving driver’s comfort and driving safety. The You Only Look Once (YOLO) family of deep-learning-based object-detection algorithm has been widely adopted due to their real-time capabilities and ease of implementation. In this study, we compared the performance of Small-YOLOv5 and Tiny-YOLOv7, two recent variants of the YOLO architecture, on various traffic sign detection benchmarks. Our evaluation focused on three aspects: accuracy, speed/inference time and performance/computational complexity. The two models of YOLOv5 and YOLOv7 were trained with the same data set which consists of 3206 images representative for 7 different speed-limit signs including 50, 60, 70, 80, 90, 100 and 120 km/h, 2 signs of residential area entrance and exit, and 1 sign of all-limit removal. These images were collected in various real-life environmental conditions such as daylight, nighttime, rain, and motion blur from a Raspberry Pi V2 8MP Camera with a resolution of 3280x2464 pixels and a focal length of 3.04 mm. Comparisons were conducted in different scenarios of image quality, distance from camera, and computer resources. In terms of image quality, performance decreased significantly as image quality dropped with YOLOv5, especially in low light, blurry images, and bad weather. Meanwhile, YOLOv7 maintained better performance in various environmental conditions. YOLOv7 was found to be more stable and reliable than YOLOv5 when image quality dropped. In terms of speed/processing time, when running on a system with high resources (such as Google Colab T4), YOLOv7 outperformed YOLOv5 in speed/inference time. On low-end resources (Jetson Nano), YOLOv7 was also slightly better than YOLOv5. Finally, YOLOv7 was able to maintain better performance than YOLOv5 when the subject was at different distances from the camera. The findings of this study suggested that the Tiny-YOLOv7, when combined with a high-level computing platform, could be beneficial for real-time traffic sign recognition.

Journal of Physics Conference SeriesVol. 2949(1)
Vietnam National University Ho Chi Minh City (VN), Ho Chi Minh City University of Technology (VN)
Openalex Percentile: Top 23%
Advanced Neural Network Applications
1.28
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.