Detection of Traffic Lights and Status (Red, Yellow and Green) in Images with Different Environmental Conditions Using Architectures from Yolov8 to Yolov12
Abstract
1. Introduction
1.1. Introduction Background and Scope of This Study
1.2. State of the Art
2. Materials and Methods
2.1. Methodology
2.2. Dataset
2.3. You Only Look Once (YOLO) Architecture
2.3.1. YOLOv8
2.3.2. YOLOv9
2.3.3. YOLOv10
2.3.4. YOLOv11
2.3.5. YOLOv12
3. Results
3.1. Traffic Light Detection (Stage 1) and Traffic Light State Recognition (Stage 2)
3.1.1. Hyperparameters for Traffic Light Detection and Traffic Light State Classification
- Same dataset, augmentations, and preprocessing across models.
- Aligned training configuration: epochs, patience, pretrained weights, input size (640), lr0, and lrf.
- Identical validation protocol (holdout split), metrics, and evaluation code path.
- Same input resolution during training and validation.
- Same hardware and software stack.
- Same learning-rate scheduler (cosine decay with lrf = 0.01).
3.1.2. Performance Evaluation Calculation
3.1.3. Results of Traffic Light Detection
3.1.4. Results of Traffic Light State Recognition
3.2. Summary of Findings
3.2.1. Comparative Analysis of YOLO Models
3.2.2. Evaluation of Overfitting
- Step 1. Traffic Light Detection
- YOLOv12 achieved the highest value, with an mAP of approximately 0.88–0.89.
- YOLOv9 and YOLOv11 converged between 0.82 and 0.85.
- YOLOv10, although less accurate, maintained a consistent mAP of around 0.78 without regressions throughout the epochs.
- YOLOv12: ~0.30–0.35, the lowest validation error among the models.
- YOLOv9 and YOLOv11: ~0.40–0.55, with smooth trends and no late-epoch increments.
- YOLOv8: ~0.80–0.90, remaining stable after epoch 100.
- YOLOv10: ~1.50–1.70, the highest loss but without progressive increases over the 500 epochs.
- Step 2. Traffic Light State Recognition
- YOLOv9 and YOLOv12 reached the highest final values, approximately 0.86.
- YOLOv11 converged around 0.85.
- YOLOv8 and YOLOv10 maintained slightly lower values, around 0.83.
- YOLOv11: ~0.68, the lowest validation loss observed.
- YOLOv8, YOLOv9 and YOLOv12: ~0.70–0.75, with smooth, stable curves.
- YOLOv10: ~1.30–1.40, the highest loss value, but without progressive increases across the 500 epochs.
4. Conclusions and Discussion
4.1. Findings for Step 1: Traffic Light Detection
4.2. Findings for Step 2: Traffic Light State Recognition
4.3. Real-Time Qualitative Evaluation and Model Behavior
4.4. Model Suitability for Edge-Based Inference
4.5. Representation Choice: Bounding Boxes Are Sufficient
4.6. Limitations: Domain Coverage and Generalization
4.7. State of the Art
4.8. Practical Implications and Model Selection
- When latency and deployment constraints on embedded/edge devices dominate, YOLOv10 offers structural advantages (NMS-free, simpler post-processing) and strong confidence in real-time inference. However, further experimentation with different edge platforms is needed to determine its actual performance.
- For production, a tiered strategy is feasible: YOLOv12 as the high-fidelity model and YOLOv10 as a low-latency fallback under tight compute budgets.
4.9. Recommendations and Future Work
- Dataset expansion and stratification. Augment the corpus with weather-stratified data (rain, fog, nighttime glare), multiple viewpoints, and context diversity, while preserving class balance and location-wise group splits to avoid scene leakage.
- Controlled hyperparameter normalization. Equalize effective batch size (e.g., gradient accumulation) and apply LR∝batch scaling. Keep total optimization steps constant across models to isolate architectural effects.
- Calibration-aware evaluation. Report ECE/Brier and PR curves by class; re-tune operating thresholds per deployment scenario (e.g., prioritize Recall in safety-critical contexts).
- Ablations for NMS-free regimes. For YOLOv10, run finer ablation studies (label assignment, confidence matching, loss weighting) to temper early-epoch instability while preserving speed.
- Edge-deployment profiling. Benchmark latency/FPS, VRAM, and power on representative edge hardware (e.g., Jetson Xavier/Orin) to produce a cost–benefit analysis before field deployment.
4.10. Final Statement
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- TomTom Newsroom. Annual TomTom Traffic Index: Unveiling Data-Driven Insights from over 450 Billion Miles Driven in 2024. 2025. Available online: https://www.tomtom.com/ (accessed on 8 March 2026).
- World Health Organization. Global Status Report on Road Safety 2023; World Health Organization: Geneva, Switzerland, 2023; Available online: https://www.who.int/publications/i/item/9789240086517 (accessed on 8 March 2026).
- Secretaría de Comunicaciones y Transportes. Uso del Celular, una de las Principales Causas de Accidentes Viales. 2024. Available online: https://www.gob.mx/sct (accessed on 8 March 2026).
- Soria, A.G. Concientización y prevención de accidentes viales a través de campañas de seguridad vial. In Proceedings of the XXIVth World Road Congress; Instituto Mexicano del Transporte: Querétaro, Mexico, 2021; Available online: https://proceedings-mexico2011.piarc.org/ressources/files/4/0306-es.pdf (accessed on 8 March 2026).
- Parekh, D.; Poddar, N.; Rajpurkar, A.; Chahal, M.; Kumar, N.; Joshi, G.P.; Cho, W. A review on autonomous vehicles: Progress, methods and challenges. Electronics 2022, 11, 2162. [Google Scholar] [CrossRef]
- Hasanujjaman, M.; Chowdhury, M.Z.; Jang, Y.M. Sensor fusion in autonomous vehicle with traffic surveillance camera system: Detection, localization, and AI networking. Sensors 2023, 23, 3335. [Google Scholar] [CrossRef] [PubMed]
- National Highway Traffic Safety Administration (NHTSA). Traffic Safety Facts 2021: A Compilation of Motor Vehicle Traffic Crash Data; U.S. Department of Transportation: Washington, DC, USA, 2023. Available online: https://rosap.ntl.bts.gov/view/dot/78020/dot_78020_DS1.pdf (accessed on 8 March 2026).
- Alawadhi, M.; Almazrouie, J.; Kamil, M.; Khalil, K.A. A systematic literature review of the factors influencing the adoption of autonomous driving. Int. J. Syst. Assur. Eng. Manag. 2020, 11, 1065–1082. [Google Scholar] [CrossRef]
- Almaskati, D.; Kermanshachi, S.; Pamidimukkula, A. Autonomous vehicles and traffic accidents. Transp. Res. Procedia 2023, 73, 321–328. [Google Scholar] [CrossRef]
- Chen, S.; Zong, S.; Chen, T.; Huang, Z.; Chen, Y.; Labi, S. A taxonomy for autonomous vehicles considering ambient road infrastructure. Sustainability 2023, 15, 11258. [Google Scholar] [CrossRef]
- Kumar, S.; Singh, S.K.; Varshney, S.; Singh, S.; Kumar, P.; Kim, B.-G.; Ra, I.-H. Fusion of DeepSORT and YOLOv5 for effective vehicle detection and tracking in real-time traffic management sustainable system. Sustainability 2023, 15, 16869. [Google Scholar] [CrossRef]
- Flores-Calero, M.; Astudillo, C.A.; Guevara, D.; Maza, J.; Lita, B.S.; Defaz, B.; Ante, J.S.; Zabala-Blanco, D.; Armingol Moreno, J.M. Traffic sign detection and recognition using YOLO object detection algorithm: A systematic review. Mathematics 2024, 12, 297. [Google Scholar] [CrossRef]
- Liu, Y.; Luo, P. YOLO-TS: A lightweight YOLO model for traffic sign detection. IEEE Access 2024, 12, 169013–169023. [Google Scholar] [CrossRef]
- Chauhan, A.; Chorge, O.; Chaudhari, R.; Patil, K.T. A survey paper on intelligent traffic lights. Int. Res. J. Eng. Technol. (IRJET) 2021, 8, 1054–1057. [Google Scholar] [CrossRef]
- Gautam, S.; Kumar, A. Image-based automatic traffic light detection system for autonomous cars: A review. Multimed. Tools Appl. 2023, 82, 26135–26182. [Google Scholar] [CrossRef]
- Galvao, L.G.; Abbod, M.; Kalganova, T.; Palade, V.; Huda, M.N. Pedestrian and vehicle detection in autonomous vehicle perception systems—A review. Sensors 2021, 21, 7267. [Google Scholar] [CrossRef] [PubMed]
- Zakaria, N.J.; Shapiai, M.I.; Ghani, R.A.; Yassin, M.N.M.; Ibrahim, M.Z.; Wahid, N. Lane detection in autonomous vehicles: A systematic review. IEEE Access 2023, 11, 3729–3765. [Google Scholar] [CrossRef]
- Ghahremannezhad, H.; Shi, H.; Liu, C. Object detection in traffic videos: A survey. IEEE Trans. Intell. Transp. Syst. 2023, 24, 6780–6799. [Google Scholar] [CrossRef]
- Boukerche, A.; Hou, Z. Object detection using deep learning methods in traffic scenarios. ACM Comput. Surv. 2021, 54, 1–35. [Google Scholar] [CrossRef]
- Dewi, C.; Chen, R.-C.; Jiang, X.; Yu, H. Deep convolutional neural network for enhancing traffic sign recognition developed on YOLOv4. Multimed. Tools Appl. 2022, 81, 37821–37845. [Google Scholar] [CrossRef]
- Kumar, K.; Santhosh Reddy, D.; Rajalakshmi, P. 3D YOLO-SM: End-to-end approach for real-time traffic light detection and recognition in complex scenarios. In Proceedings of the 2024 IEEE 100th Vehicular Technology Conference (VTC2024-Fall), Washington, DC, USA, 7–10 October 2024. [Google Scholar] [CrossRef]
- Pavel, M.I.; Tan, S.Y.; Abdullah, A. Vision-based autonomous vehicle systems based on deep learning: A systematic literature review. Appl. Sci. 2022, 12, 6831. [Google Scholar] [CrossRef]
- Karakan, A. Detection of red, yellow, and green lights in real-time traffic lights with YOLO architecture. Celal Bayar Univ. J. Sci. 2024, 20, 28–36. [Google Scholar] [CrossRef]
- Wali, S.B.; Abdullah, M.A.; Hannan, M.A.; Hussain, A.; Samad, S.A.; Ker, P.J.; Mansor, M.B. Vision-based traffic sign detection and recognition systems: Current trends and challenges. Sensors 2019, 19, 2093. [Google Scholar] [CrossRef]
- Rana, C. Artificial intelligence-based object detection and traffic prediction by autonomous vehicles—A review. Expert Syst. Appl. 2024, 255, 124664. [Google Scholar] [CrossRef]
- Liang, L.; Ma, H.; Zhao, L.; Xie, X.; Hua, C.; Zhang, M.; Zhang, Y. Vehicle detection algorithms for autonomous driving: A review. Sensors 2024, 24, 3088. [Google Scholar] [CrossRef]
- Karangwa, J.; Liu, J.; Zeng, Z. Vehicle detection for autonomous driving: A review of algorithms and datasets. IEEE Trans. Intell. Transp. Syst. 2023, 24, 11568–11594. [Google Scholar] [CrossRef]
- Liu, M.; Yurtsever, E.; Fossaert, J.; Zhou, X.; Zimmer, W.; Cui, Y.; Zagar, B.L.; Knoll, A.C. A survey on autonomous driving datasets: Statistics, annotation quality, and a future outlook. IEEE Trans. Intell. Veh. 2024, 9, 7138–7164. [Google Scholar] [CrossRef]
- Song, Z.; He, Z.; Li, X.; Ma, Q.; Ming, R.; Mao, Z.; Pei, H.; Peng, L.; Hu, J.; Yao, D.; et al. Synthetic datasets for autonomous driving: A survey. IEEE Trans. Intell. Veh. 2024, 9, 1847–1864. [Google Scholar] [CrossRef]
- Zhao, R.; Tang, S.H.; Shen, J.; Supeni, E.E.B.; Rahim, S.A. Enhancing autonomous driving safety: A robust traffic sign detection and recognition model TSD-YOLO. Signal Process. 2024, 225, 109619. [Google Scholar] [CrossRef]
- Ayegbusi, O.A.; Akinwumi, A.O.; Ogbeide, O.; Akingbesote, A.O.; Obafemi, J.R.; Akinrolabu, O.D.; Rotiba, O. A deep learning-based model for traffic signal control using the YOLO algorithm. Int. J. Comput. Appl. 2025, 186, 43–54. [Google Scholar] [CrossRef]
- Pavlitska, S.; Lambing, N.; Bangaru, A.K.; Zöllner, J.M. Traffic light recognition using convolutional neural networks: A survey. In Proceedings of the 2023 IEEE 26th International Conference on Intelligent Transportation Systems (ITSC), Bilbao, Spain, 24–28 September 2023. [Google Scholar] [CrossRef]
- Yang, L.; He, Z.; Zhao, X.; Fang, S.; Yuan, J.; He, Y.; Li, S.; Liu, S. A deep learning method for traffic light state recognition. J. Intell. Connect. Veh. 2023, 6, 173–182. [Google Scholar] [CrossRef]
- Yoneda, K.; Ichihara, N.; Kawanishi, H.; Okuno, T.; Cao, L.; Suganuma, N. Sun-glare region recognition using visual explanations for traffic light detection. In Proceedings of the 2021 IEEE Intelligent Vehicles Symposium (IV), Nagoya, Japan, 11–17 July 2021. [Google Scholar] [CrossRef]
- Wang, Q.; Zhang, Q.; Liang, X.; Wang, Y.; Zhou, C.; Mikulovich, V.I. Traffic lights detection and recognition method based on the improved YOLOv4 algorithm. Sensors 2021, 22, 200. [Google Scholar] [CrossRef]
- Song, J.; Hu, T.; Gong, Z.; Zhang, Y.; Cui, M. TLDM: An enhanced traffic light detection model based on YOLOv5. Electronics 2024, 13, 3080. [Google Scholar] [CrossRef]
- Kunekar, P.; Narule, Y.; Mahajan, R.; Mandlapure, S.; Mehendale, E.; Meshram, Y. Traffic management system using YOLO algorithm. Eng. Proc. 2024, 59, 210. [Google Scholar] [CrossRef]
- Sani, Z.M.; Saari, M.I.F.; Izzudin, T.A. Traffic light (circle) detection and recognition using YOLO and image processing technique. In Proceedings of the 6th International Conference on Electrical, Control and Computer Engineering (InECCE2021), Kuantan, Malaysia, 23 August 2021. [Google Scholar] [CrossRef]
- Sarhan, N.H.; Al-Omary, A.Y. Traffic light detection using OpenCV and YOLO. In Proceedings of the 2022 International Conference on Innovation and Intelligence for Informatics, Computing, and Technologies (3ICT), Sakheer, Bahrain, 20–21 November 2022. [Google Scholar] [CrossRef]
- Ma, Y.; Arifah, F.; Afifah, Q.; Bun, L.; Zhang, K.; Tang, M. Traffic light recognition assistant for color vision deficiency using YOLO with multilingual audio feedback. Sensors 2026, 26, 1093. [Google Scholar] [CrossRef]
- Munir, S.; Lin, H.-Y. LNT-YOLO: A lightweight nighttime traffic light detection model. Smart Cities 2025, 8, 95. [Google Scholar] [CrossRef]
- Tammisetti, V.; Stettinger, G.; Cuellar, M.P.; Molina-Solana, M. Meta-YOLOv8: Meta-learning-enhanced YOLOv8 for precise traffic light color detection in ADAS. Electronics 2025, 14, 468. [Google Scholar] [CrossRef]
- Yagob, F.; Sasiadek, J.Z. Enhanced real-time method traffic light signal color recognition using advanced convolutional neural network techniques. World Electr. Veh. J. 2025, 16, 441. [Google Scholar] [CrossRef]
- Khaled, L.B.; Rahman, M.; Ebu, I.A.; Ball, J.E. FlashLightNet: An end-to-end deep learning framework for real-time detection and classification of static and flashing traffic light states. Sensors 2025, 25, 6423. [Google Scholar] [CrossRef]
- Redmon, J.; Divvala, S.; Girshick, R.; Farhadi, A. You only look once: Unified, real-time object detection. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA, 27–30 June 2016; pp. 779–788. Available online: https://www.cv-foundation.org/openaccess/content_cvpr_2016/html/Redmon_You_Only_Look_CVPR_2016_paper.html (accessed on 8 March 2026).
- Lin, M.; Chen, Q.; Yan, S. Network in network. arXiv 2013, arXiv:1312.4400. [Google Scholar] [CrossRef]
- Jocher, G.; Chaurasia, A.; Qiu, J. Ultralytics YOLOv8. 2023. Available online: https://docs.ultralytics.com/models/yolov8/ (accessed on 8 March 2026).
- Yaseen, M. What is YOLOv9: An in-depth exploration of the internal features of the next-generation object detector. arXiv 2024, arXiv:2409.07813. [Google Scholar] [CrossRef]
- Wang, C.-Y.; Yeh, I.-H.; Liao, H.-Y.M. YOLOv9: Learning what you want to learn using programmable gradient information. arXiv 2024, arXiv:2402.13616. [Google Scholar] [CrossRef]
- Khanam, R.; Hussain, M. YOLOv11: An overview of the key architectural enhancements. arXiv 2024, arXiv:2410.17725. [Google Scholar] [CrossRef]
- Rasheed, A.F.; Zarkoosh, M. YOLOv11 optimization for efficient resource utilization. arXiv 2024, arXiv:2412.14790. [Google Scholar] [CrossRef]
- Alif, M.A.R.; Hussain, M. YOLOv12: A breakdown of the key architectural features. arXiv 2025, arXiv:2502.14740. [Google Scholar] [CrossRef]
- Tian, Y.; Ye, Q.; Doermann, D. YOLOv12: Attention-centric real-time object detectors. arXiv 2025, arXiv:2502.12524. [Google Scholar] [CrossRef]
- Khanam, R.; Hussain, M. A review of YOLOv12: Attention-based enhancements vs. previous versions. arXiv 2025, arXiv:2504.11995. [Google Scholar] [CrossRef]




















| Author | Dataset | Problem | Image | Model | Accuracy | Observations |
|---|---|---|---|---|---|---|
| Ma et. al. 2026 [40] | Owned with images from Indonesia and China | Traffic light status recognition | 1000 | YOLO v12n | 0.73 during real-time operation | Includes day and night conditions, and various weather conditions (clear and rainy) |
| Munir and Lin 2025 [41] | Public TN-TLD Dataset (Taiwan Nighttime Traffic Light) | Traffic light status recognition | 36,050 | LNT-YOLO | mAP@0.5 = 0.781 | Traffic light detection during night driving |
| Tammisetti et. 2025 [42] | Mixed public datasets: Kitty, Kaggle, Carla, LISA, Cityscapes and Eurocity | Traffic light status recognition | 335 | YOLOv8, Meta-YOLOv8 | 0.93 | Meta-YOLOv8 is used to improve YOLOv8 performance |
| Yagob and Sasiadek 2025 [43] | Github dataset 2023 GitHub y de Roboflow | Traffic light status recognition | 650 | YOLOv8 | Traffic light 0.943 Red 0.992 Yellow 0.995 Green 0.853 | Depthwise Separable Convolutions (DISCs) are integrated throughout the backbone and head |
| Khaled et. al. 2025 [44] | Own, real Mississippi data and simulated data using RoadRunner | Traffic light recognition and classification of flashing traffic lights | 54,000 | YOLOv10n ResNet-18 LSTM | Red (1.00), Yellow (1.00), Green (0.98), Flashing Red (0.92) and Flashing Yellow (0.92) | NVIDIA A100 GPUs were used, achieving a performance of 67.15 FPS |
| Proposed 2026 | Mixed database: Own database of images of Mexico City and public LISA database | Traffic light recognition and status classification | Frames of complete scenarios 22,217 and 36,000 traffic light segments | Yolov8, Yolov9 Yolov10, Yolov11, Yolov12 | Traffic light 0.93 Red 1.0 Yellow 1.0 Green 0.98 | Performance comparison of YOLO v8 to YOLO v12 in real-time images under different natural lighting conditions |
| Database | Set | Characteristics | |||
|---|---|---|---|---|---|
| # Images | # Class | Class | Resolution | ||
| LISA | Traffic light detection training | 1290 | 1 | traffic_light | 1280 × 960 |
| Own | 18,570 | 4000 × 2992 | |||
| LISA | Traffic light detection testing | 127 | 1 | traffic_light | 1280 × 960 |
| Own | 1730 | 4000 × 2992 | |||
| Own and LISA mix | State recognition training | 30,000 | 3 | trafficlight_green trafficlight_yellow trafficlight_red | 1280 × 960 4000 × 2992 |
| Own and LISA mix | State recognition test | 6000 | 3 | trafficlight_green trafficlight_yellow trafficlight_red | 1280 × 960 4000 × 2992 |
| Own | Real-time traffic light detection test | 500 | 1 | traffic_light trafficlight_green trafficlight_yellow trafficlight_red | 4000 × 2992 |
| YOLO Model | Hyper-Parameters | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Epochs | Patience | Pretrained | Image Size | lr0 | lrf | Batch | Dropout | Batch Size (Step 1: Detection) | Batch Size (Step 2: State) | |
| YOLOv8 | 500 | 100 | True | 640 | 0.01 | 0.01 | 14 | 0.0 | 14 | 10 |
| YOLOv9 | 500 | 100 | True | 640 | 0.01 | 0.01 | 6 | 0.0 | 6 | 10 |
| YOLOv10 | 500 | 100 | True | 640 | 0.01 | 0.01 | 10 | 0.0 | 10 | 8 |
| YOLOv11 | 500 | 100 | True | 640 | 0.01 | 0.01 | 6 | 0.0 | 6 | 8 |
| YOLOv12 | 500 | 100 | True | 640 | 0.01 | 0.01 | 10 | 0.0 | 10 | 8 |
| YOLO Model | Class | A | P | R | F1-Score | mAP50 | mAP5-95 |
|---|---|---|---|---|---|---|---|
| YOLOv8 | traffic_light | 0.91 | 0.963 | 0.907 | 0.935 | 0.944 | 0.756 |
| YOLOv9 | traffic_light | 0.93 | 0.981 | 0.902 | 0.940 | 0.957 | 0.883 |
| YOLOv10 | traffic_light | 0.92 | 0.980 | 0.915 | 0.946 | 0.957 | 0.812 |
| YOLOv11 | traffic_light | 0.92 | 0.947 | 0.907 | 0.926 | 0.941 | 0.843 |
| YOLOv12 | traffic_light | 0.91 | 0.982 | 0.924 | 0.952 | 0.963 | 0.892 |
| YOLO Model | Class | A | P | R | F1-Score | mAP50 | mAP5-95 |
|---|---|---|---|---|---|---|---|
| YOLOv8 | trafficlight_green | 0.98 | 0.99 | 0.993 | 0.993 | 0.993 | 0.869 |
| trafficlight_yellow | 0.99 | 0.99 | 0.993 | 0.993 | 0.993 | 0.869 | |
| trafficlight_red | 1.00 | 0.99 | 0.993 | 0.993 | 0.993 | 0.869 | |
| YOLOv9 | trafficlight_green | 0.98 | 0.998 | 0.990 | 0.994 | 0.992 | 0.868 |
| trafficlight_yellow | 1.00 | 0.998 | 0.990 | 0.994 | 0.992 | 0.868 | |
| trafficlight_red | 1.00 | 0.998 | 0.990 | 0.994 | 0.992 | 0.868 | |
| YOLOv10 | trafficlight_green | 0.98 | 0.993 | 0.993 | 0.993 | 0.994 | 0.864 |
| trafficlight_yellow | 1.00 | 0.993 | 0.993 | 0.993 | 0.994 | 0.864 | |
| trafficlight_red | 0.99 | 0.993 | 0.993 | 0.993 | 0.994 | 0.864 | |
| YOLOv11 | trafficlight_green | 0.98 | 0.996 | 0.993 | 0.995 | 0.993 | 0.869 |
| trafficlight_yellow | 1.00 | 0.996 | 0.993 | 0.995 | 0.993 | 0.869 | |
| trafficlight_red | 1.00 | 0.996 | 0.993 | 0.995 | 0.993 | 0.869 | |
| YOLOv12 | trafficlight_green | 0.98 | 0.998 | 0.993 | 0.996 | 0.994 | 0.868 |
| trafficlight_yellow | 0.99 | 0.998 | 0.993 | 0.996 | 0.994 | 0.868 | |
| trafficlight_red | 1.00 | 0.998 | 0.993 | 0.996 | 0.994 | 0.868 |
| YOLO Model | mAP50-95 Step 1: Detection | mAP50-95 Step 2: State * | Inference Time (ms) Step 1: Detection | Inference Time (ms) Step 2: State | Loss Stability |
|---|---|---|---|---|---|
| YOLOv8 | 0.756 | 0.869 | 14.04 | 20.28 | Medium (Initial Fluctuations) |
| YOLOv9 | 0.883 | 0.868 | 13.22 | 24.52 | High |
| YOLOv10 | 0.812 | 0.864 | 11.90 | 13.42 | Very High (More Stable) |
| YOLOv11 | 0.843 | 0.869 | 12.92 | 18.66 | High |
| YOLOv12 | 0.892 | 0.868 | 12.90 | 21.91 | High |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Saucedo-Soto, J.; Hernández-Herrera, V.; Márquez-Olivera, M.; Sánchez-García, O.; Juárez-Gracia, A.-G. Detection of Traffic Lights and Status (Red, Yellow and Green) in Images with Different Environmental Conditions Using Architectures from Yolov8 to Yolov12. Vehicles 2026, 8, 90. https://doi.org/10.3390/vehicles8040090
Saucedo-Soto J, Hernández-Herrera V, Márquez-Olivera M, Sánchez-García O, Juárez-Gracia A-G. Detection of Traffic Lights and Status (Red, Yellow and Green) in Images with Different Environmental Conditions Using Architectures from Yolov8 to Yolov12. Vehicles. 2026; 8(4):90. https://doi.org/10.3390/vehicles8040090
Chicago/Turabian StyleSaucedo-Soto, Julio, Viridiana Hernández-Herrera, Moisés Márquez-Olivera, Octavio Sánchez-García, and Antonio-Gustavo Juárez-Gracia. 2026. "Detection of Traffic Lights and Status (Red, Yellow and Green) in Images with Different Environmental Conditions Using Architectures from Yolov8 to Yolov12" Vehicles 8, no. 4: 90. https://doi.org/10.3390/vehicles8040090
APA StyleSaucedo-Soto, J., Hernández-Herrera, V., Márquez-Olivera, M., Sánchez-García, O., & Juárez-Gracia, A.-G. (2026). Detection of Traffic Lights and Status (Red, Yellow and Green) in Images with Different Environmental Conditions Using Architectures from Yolov8 to Yolov12. Vehicles, 8(4), 90. https://doi.org/10.3390/vehicles8040090

