A Driver Assistance System Based on YOLO Object Detection: Development and Experimental Validation in the CARLA Simulator

Authors

DOI:

https://doi.org/10.5753/jbcs.2026.6503

Keywords:

Self-driving car, Object Detection, Vehicle Control, Simulation, CARLA, YOLO

Abstract

This work presents the development and validation of an integrated Advanced Driver-Assistance System (ADAS) combining YOLOv8-based computer vision with vehicle control in the CARLA simulator. The primary objective was to implement and validate the system’s capability to detect stop signs and vehicles in real time, providing visual feedback to the driver and enabling the vehicle to respond to stop signs through appropriate deceleration and stopping behavior. The system employs a modular three-layer architecture: perception (YOLOv8), planning (finite state machine), and control (Proportional-Integral-Derivative (PID) longitudinal, Pure Pursuit lateral). Evaluation across six simulations under three weather conditions (clear noon, heavy rain sunset, heavy rain noon) demonstrated real-time processing at 17.13 FPS average, 59.4 ms detection time per frame, and 100% detection accuracy for stop signs and vehicles on the test route. Stop sign detection confidence remained above 0.73 across all conditions (coefficient of variation: 0.58%), and ANOVA revealed a significant effect of weather on detection time (p = 0.025) but no impact on detection confidence (p = 0.651), confirming perceptual reliability under adverse conditions. All routes were completed without collisions. Despite limitations inherent to simulated validation, the results empirically confirm that YOLO-based ADAS can provide reliable real-time visual feedback and proper behavioral responses for stop signs and vehicles under three distinct weather conditions, establishing methodological foundations for modular, distributed-processing architectures in autonomous vehicle applications.

Downloads

Download data is not yet available.

References

Ahammed, A. S., Hossain, M. S. A., and Obermaisser, R. (2024). A computer vision approach for autonomous cars to drive safe at Construction Zone.

Ahire, P., Naidu, S., Varpe, S., Nadarge, S., and Patil, A. (2024). Simulating vehicle driving using carla. Journal of Electrical Systems, 20(10s):44-52.

Andrade, G. G. d. (2022). Uma Proposta para Detecção de Objetos e Estimação de Distância em um Simulador de Veículos Autônomos. Trabalho de Conclusão de Curso (Graduação) – Universidade de Brasília.

Bratzel, S. and Center of Automotive Management (2022). Die Zukunft der Mobilität – Die Zukunftstrends in den Bereichen Elektromobilität, Connected Car und Mobilitätsdienstleistungen.

Carion, N., Massa, F., Synnaeve, G., Usunier, N., Kirillov, A., and Zagoruyko, S. (2020). End-to-end object detection with Transformers.

Dosovitskiy, A., Ros, G., Codevilla, F., Lopez, A., and Koltun, V. (2017). CARLA: An open urban driving simulator. In Proceedings of the Conference on Robot Learning, pages 1-16. PMLR. DOI: 10.48550/arXiv.1711.03938.

European Commission, Directorate-General for Mobility and Transport (2021). Safer roads for all: EU Road Safety Policy Framework 2021-2030.

Gao, W., Tang, J., and Wang, T. (2021). An object detection research method based on CARLA simulation. Journal of Physics: Conference Series, 1948(1):012163. DOI: 10.1088/1742-6596/1948/1/012163.

Houser, K. (2023). Mercedes-Benz wins race to bring level 3 autonomous cars to US. Freethink Media.

Janai, J., Güney, F., Behl, A., and Geiger, A. (2020). Computer vision for autonomous vehicles: Problems, datasets and state of the art. Foundations and Trends in Computer Graphics and Vision, 12(1–3):1–308. DOI: 10.1561/0600000079.

Khan, M. A., Sayed, H. E., Malik, S., Zia, T., Khan, J., Alkaabi, N., and Ignatious, H. (2022). Level-5 autonomous driving—are we there yet? a review of research literature. ACM Computing Surveys. DOI: 10.1145/3485767.

Kim, T., Jeon, H., and Lim, Y. (2023). Challenges of yolo series for object detection in extremely heavy rain: CARLA simulator based synthetic evaluation data set. arXiv preprint arXiv:2312.07976. DOI: 10.48550/arXiv.2312.07976.

Lage, C. A. (2019). Quatro cenários para os veículos autônomos no mundo ocidental. Repositório Institucional da UnB.

Lanctot, R. (2017). Accelerating the Future: The Economic Impact of the Emerging Passenger Economy.

Li, S., Wang, S., and Wang, P. (2023). A small object detection algorithm for traffic signs based on improved yolov7. Sensors, 23(16). DOI: 10.3390/s23167145.

Lin, T.-Y., Goyal, P., Girshick, R., He, K., and Dollár, P. (2017). Focal loss for dense object detection. In Proceedings of the IEEE International Conference on Computer Vision, pages 2980-2988. DOI: 10.1109/ICCV.2017.324.

Liu, L., Ouyang, W., Wang, X., Fieguth, P., Chen, J., Liu, X., and Pietikäinen, M. (2020). Deep learning for generic object detection: A survey. International Journal of Computer Vision, 128(2):261-318. DOI: 10.1007/s11263-019-01247-4.

Mitropoulos, A. (2023). Mercedes-Benz erhält als weltweit erstes Automobilunternehmen Zertifizierung für SAE Level 3-System für US-Markt.

National Highway Traffic Safety Administration (2018). Critical reasons for crashes investigated in the national motor vehicle crash causation survey: Dot hs 812 506 a brief statistical summary.

Okpono, J., Asedegbega, J., Ogieva, M., and Sanyaolu, T. O. (2024). Advanced driver assistance systems road accident data insights: Uncovering trends and risk factors. The International Journal of Engineering Research, 11(9):a141-a152. DOI: 10.5281/zenodo.13817419.

Othman, K. (2021). Multidimension analysis of autonomous vehicles: The future of mobility. Civil Engineering Journal, 7(7):71-93. DOI: 10.28991/CEJ-SP2021-07-06.

Parekh, D., Poddar, N., and Chahal, M. (2022). A review on autonomous vehicles: Progress, methods and challenges. Electronics, 11(14):2162. DOI: 10.3390/electronics11142162.

SAE International (2021). Taxonomy and definitions for terms related to driving automation systems for on-road motor vehicles. SAE J3016_202104. DOI: 10.4271/J3016_202104.

Sebo, D. (2024). Impact of electric vehicle market growth on automotive industry transformation: trends, potentials, and challenges analysis. In Economic and Social Development (Book of Proceedings), 106th International Scientific Conference on Economic and Social Development.

Surendra, H. et al. (2023). Lane detection and traffic sign detection using deep learning and computer vision for autonomous driving research using CARLA simulator. International Journal on Recent and Innovation Trends in Computing and Communication, 11(10):2062. DOI: 10.17762/ijritcc.v11i10.8891.

Sánchez Juanola, M. (2019). Speed Traffic Sign Detection on the CARLA Simulator Using YOLO. Master's thesis, Universitat Pompeu Fabra.

Wachenfeld, W. and Winner, H. (2016). The Release of Autonomous Vehicles. In Maurer, M. et al., editors, Autonomous Driving: Technical, Legal and Social Aspects, pages 425-449. Springer, Berlin, Heidelberg. DOI: 10.1007/978-3-662-48847-8_21.

Wang, A., Chen, H., Liu, L., Chen, K., Lin, Z., Han, J., and Ding, G. (2024). YOLOv10: Real-time end-to-end object detection.

Wang, C.-Y. and Liao, H.-Y. M. (2024). YOLOv1 to YOLOv10: The fastest and most accurate real-time object detection systems. APSIPA Transactions on Signal and Information Processing, 13(1):1-30. DOI: 10.1561/116.20240058.

Wu, X. and Cao, H. (2022). Traffic sign detection algorithm based on improved yolov4. Journal of Physics: Conference Series, 2258(1):012009. DOI: 10.1088/1742-6596/2258/1/012009.

Yaseen, M. (2024). What is YOLOv8: An in-depth exploration of the internal features of the next-generation object detector.

Downloads

Published

2026-05-06

How to Cite

Gomes, D. T., & Tamariz, A. D. R. (2026). A Driver Assistance System Based on YOLO Object Detection: Development and Experimental Validation in the CARLA Simulator. Journal of the Brazilian Computer Society, 32(1), 1250–1257. https://doi.org/10.5753/jbcs.2026.6503

Issue

Section

Regular Issue