journal article·2025-06-21Open access

Optimizing Car Collision Detection Using Large Dashcam-Based Datasets: A Comparative Study of Pre-Trained Models and Hyperparameter Configurations

Muhammad Shahid, Martin Gregurić, Amirhossein Hassani, Marko Ševrović

Applied Sciences· Volume 15· Issue 13

Abstract

The automatic identification of traffic collisions is an emerging topic in modern traffic surveillance systems. The increasing number of surveillance cameras at urban intersections connected to traffic surveillance systems has created new opportunities for leveraging computer vision techniques for automatic collision detection. This study investigates the effectiveness of transfer learning utilizing pre-trained deep learning models for collision detection through dashcam images. We evaluated several state-of-the-art (SOTA) image classification models and fine-tuned them using different hyperparameter combinations to test their performance on the car collision detection problem. Our methodology systematically investigates the influence of optimizers, loss functions, schedulers, and learning rates on model generalization. A comprehensive analysis is conducted using 7 performance metrics to assess classification performance. Experiments on a large dashcam-based images dataset show that ResNet50, optimized with AdamW, a learning rate of 0.0001, CosineAnnealingLR scheduler, and Focal Loss, emerged as the top performer, achieving an accuracy of 0.9782, F1-score of 0.9617, and IoU of 0.9262, indicating a strong ability to reduce false negatives.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Autonomous Vehicle Technology and Safety · Anomaly Detection Techniques and Applications · Advanced Neural Network Applications

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Faculty of Transport and Traffic Sciences, University of Zagreb, Vukelićeva Street 4, HR-10000 Zagreb, Croatia

Funding

European Union’s Horizon Europe research and innovation program

References (29)

Show source-provided references
1. World Health Organization (2025, June 05). Global Status Report on Road Safety 2023, Available online: https://iris.who.int/bitstream/handle/10665/375016/9789240086517-eng.pdf?sequence=1.
2. Rezaei, Z., and Ebrahimpour-Komleh, H. (2021, January 28–29). Prediction and detection of car accidents in video by deep learning. Proceedings of the 2021 5th International Conference on Pattern Recognition and Image Analysis (IPRIA), Kashan, Iran.10.1109/IPRIA53572.2021.9483506 ↗
3. National Safety Council (NSC) (2025, June 14). Motor Vehicle—Type of Crash. Available online: https://injuryfacts.nsc.org/motor-vehicle/overview/type-of-crash/.
4. Carrodano, C. (2024). Data-driven risk analysis of nonlinear factor interactions in road safety using Bayesian networks. Sci. Rep., 14.10.1038/s41598-024-69740-6 ↗
5. Road Traffic Accident Prediction Based on Multi-Source Data—A Systematic Review10.7307/ptt.v37i2.763 ↗
6. Wu, K., Li, W., and Xiao, X. (2024). AccidentGPT: Large multi-modal foundation model for traffic accident analysis. arXiv.10.5220/0012422100003636 ↗
7. Kolte, N., and Mittal, S.K. (2024, January 26–27). ERDMS: Bridging the Gap Between Accident Detection and Timely Medical Assistance. Proceedings of the 2024 Asia Pacific Conference on Innovation in Technology (APCIT), Mysore, India.10.1109/APCIT62007.2024.10673437 ↗
8. A review of vehicle detection techniques for intelligent vehicles10.1109/TNNLS.2021.3128968 ↗
9. Sang, J., Wu, J., Guo, P., Hu, H., Xiang, H., Zhang, Q., and Cai, B. (2018). An improved YOLOv2 for vehicle detection. Sensors, 18.10.3390/s18124272 ↗
10. Li, X., Mohammed, R., Mangin, T., Saha, S., Kelly, K., Whitaker, R., and Tasdizen, T. (March, January 28). Joint audio-visual idling vehicle detection with streamlined input dependencies. Proceedings of the Winter Conference on Applications of Computer Vision, Tucson, AZ, USA.
11. Gautham, B., and Sangeetha, K. (2025, January 27–28). Real-Time Pedestrian Detection and Tracking in Dynamic Urban Environments Using YOLO for Intelligent Video Systems. Proceedings of the 2025 3rd International Conference on Intelligent Systems, Advanced Computing and Communication (ISACC), Silchar, India.
12. Application of machine learning technology for occupational accident severity prediction in the case of construction collapse accidents10.1016/j.ssci.2023.106138 ↗
13. A deep learning based traffic crash severity prediction framework10.1016/j.aap.2021.106090 ↗
14. Predicting multiple types of traffic accident severity with explanations: A multi-task deep learning framework10.1016/j.ssci.2021.105522 ↗
15. Zhou, Z. (2019, January 10–13). Attention based stack resnet for citywide traffic accident prediction. Proceedings of the 2019 20th IEEE International Conference on Mobile Data Management (MDM), Hong Kong, China.10.1109/MDM.2019.00-27 ↗
16. Jaspin, K., Bright, A.A., and Legin, M.L. (2024, January 5–7). Accident Detection and Severity Classification System using YOLO Model. Proceedings of the 2024 3rd International Conference on Applied Artificial Intelligence and Computing (ICAAIC), Salem, India.10.1109/ICAAIC60222.2024.10575528 ↗
17. A Deep Learning-based Car Accident Detection Framework using Edge and Cloud Computing10.1109/ACCESS.2024.3458420 ↗
18. Intelligent intersection: Two-stream convolutional networks for real-time near-accident detection in traffic video10.1145/3373647 ↗
19. Le, T.-N., Ono, S., Sugimoto, A., and Kawasaki, H. (November, January 19). Attention R-CNN for accident detection. Proceedings of the 2020 IEEE Intelligent Vehicles Symposium (IV), Las Vegas, NV, USA.10.1109/IV47402.2020.9304730 ↗
20. Deep Learning and IoT-Enabled Accident Detection and Reporting for Smart Cities Domain
21. Amrouche, A., and Kebir, S.T. (2024, January 14–15). Enhancing Road Safety: Car Crash Detection (CCD) Using CNN Model. Proceedings of the 2024 International Conference on Telecommunications and Intelligent Systems (ICTIS), Djelfa, Algeria.
22. Praveen, R.V.S., Raju, A., Anjana, P., and Shibi, B. (2024, January 25–26). IoT and ML for Real-Time Vehicle Accident Detection Using Adaptive Random Forest. Proceedings of the 2024 Global Conference on Communications and Information Technologies (GCCIT), Bangalore, India.
23. Transfer learning: A friendly introduction10.1186/s40537-022-00652-w ↗
24. Ayana, G., Dese, K., and Choe, S. (2021). Transfer learning in breast cancer diagnoses via ultrasound imaging. Cancers, 13.10.3390/cancers13040738 ↗
25. Enhanced prediction of spine surgery outcomes using advanced machine learning techniques and oversampling methods10.1007/s13755-025-00343-9 ↗
26. Lin, T.-Y., Goyal, P., Girshick, R., He, K., and Dollár, P. (2017, January 22–29). Focal loss for dense object detection. Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy.10.1109/ICCV.2017.324 ↗
27. Peng, H., Wu, C., and Xiao, Y. (2023). CBF-IDS: Addressing class imbalance using CNN-BiLSTM with focal loss in network intrusion detection system. Appl. Sci., 13.10.3390/app132111629 ↗
28. Improving medical images classification with label noise using dual-uncertainty estimation10.1109/TMI.2022.3141425 ↗
29. Loshchilov, I., and Hutter, F. (2016). Sgdr: Stochastic gradient descent with warm restarts. arXiv.