Investigation of collision estimation with vehicle and pedestrian using CARLA simulation software


  • Mohammad Sojon Beg Faculty of Mechanical and Automotive Engineering, Universiti Malaysia Pahang, 26600 Pekan, Pahang, Malaysia. Phone: +6094246234; Fax: +609424222
  • Muhammad Yusri Ismail Faculty of Mechanical and Automotive Engineering, Universiti Malaysia Pahang, 26600 Pekan, Pahang, Malaysia. Phone: +6094246234; Fax: +609424222



Object detection, Safety driving, Carla simulation, Collision analysis, Vehicle’s speed


The effectiveness of object detection systems in diverse driving environments is crucial in the growing field of automotive safety. The increasing frequency of traffic accidents, especially at busy intersections with heavy traffic and limited visibility, highlights the pressing requirement for advanced vehicle detection systems. Prior to implementing the real-time experiment, it is advisable first to conduct a simulation in order to gain a deeper understanding of the practical implementation in real-time scenarios. On the other hand, this approach has the potential to reduce both time and cost significantly. The system utilised a software-based solution by implementing the CARLA simulator. This study aims to analyse vehicle detection at T-junctions, cross-junctions, and roundabouts using image data obtained from the CARLA platform. Subsequent analysis differentiates between vehicles and non-vehicle objects in the dataset. The model concludes by proposing Python-based integrative solutions to enhance object detection systems for diverse roads and atmospheric situations. The significance of this study is evaluating the probability of accidents by tracking key factors like vehicle speed, distance, and density on various road types. In future research, it will be essential to investigate how different weather conditions, including rain, haze, and low-light scenarios, affect on sensor performance, specifically LiDAR sensors. Advanced machine learning techniques are proposed to evaluate the effectiveness of the vehicle detection system in collecting key parameters like vehicle count, speed, and distance in junction and roundabout scenarios. These findings have important implications for the advancement of more efficient, context-aware detection systems in the automotive sector.


N. Singh and G. Ji, “Computer vision assisted, real time blind spot detection based collision warning system for two wheelers,” in 5th International Conference on Electronics, Communication and Aerospace Technology (ICECA), Coimbatore, India, 2021, pp. 1179–1184.

K. Gildea, D. Hall and C. Simms, “Configurations of underreported cyclist-motorised vehicle and single cyclist collisions: Analysis of a self-reported survey,” Accident Analysis & Prevention, vol. 159, p. 106264, 2021.

H. Li et al., “The effect of rainfall and illumination on automotive sensors detection performance,” Sustainability, vol. 15, no. 9, p. 7260, 2023.

F. Uysal and S. Sanka, “Mitigation of automotive radar interference,” in IEEE Radar Conference (RadarConf2018), Oklahoma City, USA, 2018, pp. 405–410.

M. Thibenda, D. M. P. Wedagama and D. Dissanayake, “Drivers’ attitudes to road safety in the south east asian cities of Jakarta and Hanoi: Socio-economic and demographic characterisation by multiple correspondence analysis,” Safety Science, vol. 155, p. 105869, 2022.

S. Cafiso and G. Pappalardo, “Safety effectiveness and performance of lane support systems for driving assistance and automation – Experimental test and logistic regression for rare events,” Accident Analysis & Prevention, vol. 148, p. 105791, 2020.

M. Schlögl, R. Stütz, G. Laaha and M. Melcher, “A comparison of statistical learning methods for deriving determining factors of accident occurrence from an imbalanced high resolution dataset,” Accident Analysis & Prevention, vol. 127, pp. 134–149, 2019.

Z. F. Magosi, C. Wellershaus, V. R. Tihanyi, P. Luley and A. Eichberger, “Evaluation methodology for physical radar perception sensor models based on on-road measurements for the testing and validation of automated driving,” Energies, vol. 15, no. 7, p. 2545, 2022.

S. Chen, Y. Chen, S. Zhang and N. Zheng, “A novel integrated simulation and testing platform for self-driving cars with hardware in the loop,” IEEE Transactions on Intelligent Vehicles, vol. 4, no. 3, pp. 425–436, 2019.

T. H. B. Huy, H. Truong Dinh, D. Ngoc Vo and D. Kim, “Real-time energy scheduling for home energy management systems with an energy storage system and electric vehicle based on a supervised-learning-based strategy,” Energy Conversion and Management, vol. 292, p. 117340, 2023.

S. Das and S. K. Mishra, “A machine learning approach for collision avoidance and path planning of mobile robot under dense and cluttered environments,” Compututer and Electrical Engineering, vol. 103, p. 108376, 2022.

J. Zhou et al., “YOLO-CIR: The network based on YOLO and ConvNeXt for infrared object detection,” Infrared Physic & Technology, vol. 131, p. 104703, 2023.

Z. Liu, Y. He, C. Wang and R. Song, “Analysis of the influence of foggy weather environment on the detection effect of machine vision obstacles,” Sensors, vol. 20, no. 2, p. 349, 2020.

J. del Egido Sierra, A. Díaz, L. M. Bergasa, R. Barea and M. E. López, “Autonomous Vehicle Control in CARLA Challenge,” Transportation Research Procedia, vol. 58, pp. 69–74, 2021.

J. Jang, H. Lee and J. C. Kim, “Carfree: Hassle-free object detection dataset generation using carla autonomous driving simulator,” Applied Sciences, vol. 12, no. 1, p. 281, 2022.

D. Medenwald, A. Kluttig, M. E. Lacruz and J. Schumann, “Serum dietary fatty acids and coronary heart disease risk – A nested case-control-study within the CARLA cohort,” Nutrition, Metabolism and Cardiovascular Diseases, vol. 29, no. 2, pp. 152–158, 2019.

Z. Wang, J. Zhan, Y. Li, Z. Zhong and Z. Cao, “A new scheme of vehicle detection for severe weather based on multi-sensor fusion,” Measurement, vol. 191, p. 110737, 2022.

W. Gao, J. Tang and T. Wang, “An object detection research method based on CARLA simulation,” Journal of Physics: Conference Series, vol. 1948, p. 012163, 2021.

L. G. Cuenca, E. Puertas, J. F. Andrés and N. Aliane, “Autonomous driving in roundabout maneuvers using reinforcement learning with q-learning,” Electronics, vol. 8, no. 12, p. 1536, 2019.

S. Malik, M. A. Khan and H. El-Sayed, “CARLA: Car learning to act - An inside out,” Procedia Computer Science, vol. 198, pp. 742–749, 2021.

S. Stević, M. Krunić, M Marko Dragojević and N. Kaprocki, “Development of ADAS perception applications in ROS and ‘Software-In-the-Loop’ validation with CARLA simulator,” Telfor Journal, vol. 12, no. 1, pp. 40–45, 2020.

Ó. Pérez-Gil et al., “Deep reinforcement learning based control for autonomous vehicles in CARLA,” Multimedia Tools and Applications, vol. 81, pp. 3553–3576, 2022.




How to Cite

M. S. Beg and M. Y. Ismail, “Investigation of collision estimation with vehicle and pedestrian using CARLA simulation software”, J. Mech. Eng. Sci., vol. 18, no. 1, pp. 9949–9958, Mar. 2024.