Advanced Traffic Incident Detection and Classification with Real-Time Computer Vision

Authors

  • Kolhe Parag Namdeo Research Scholar, Kalinga University, Chhattisgarh, India Author
  • Dr. Rajesh Keshavrao Deshmukh Professor, Department of Computer science and engineering, Kalinga University, Chhattisgarh, India Author

DOI:

https://doi.org/10.32628/IJSRST2411330

Keywords:

Accident Severity Classification, Postcollision Vehicle Fire Detection, Vehicle Detection, DeepSORT Tracking, Object Detection, Computer Vision

Abstract

To constructively enhance traffic safety measures in Saudi Arabia, a significant number of AI-based traffic surveillance technologies have emerged over the past years, including the widely known Saher system. Rapid detection of vehicle incidents is crucial for improving the response speed of incident management, which in turn minimizes road injuries resulting from accidents. To meet the growing demand for road traffic security and safety, this paper presents a real-time traffic incident detection and alert system based on a computer vision approach.

The proposed framework comprises three models, each integrated within a prototype interface to fully visualize the system’s overall architecture.

  1. Vehicle Detection and Tracking Model: This model uses the YOLOv5 object detector combined with the DeepSORT tracker to detect and track vehicle movements, assigning a unique identification number (ID) to each vehicle. The model achieved a mean average precision (mAP) of 99.2%, ensuring high accuracy in vehicle detection and tracking.
  2. Traffic Accident and Severity Classification Model: Utilizing the YOLOv5 algorithm, this model detects and classifies the severity level of traffic accidents. It attained a mAP of 83.3%. Upon detecting a severe accident, the system sends an immediate alert message to the nearest hospital, ensuring timely medical response.
  3. Fire Detection Model: This model employs the ResNet152 algorithm to detect fire ignition following an accident. It achieved an accuracy rate of 98.9%. If a fire is detected, an automated alert is sent to the fire station, facilitating quick firefighting response.

An innovative parallel computing technique was employed to reduce the overall complexity and inference time of the AI-based system, enabling the proposed system to operate concurrently and in parallel. This parallel processing capability ensures that the detection, classification, and alerting processes occur swiftly and efficiently, enhancing the overall effectiveness of the system.

By integrating these advanced AI models, the real-time traffic incident detection and alert system significantly contributes to improving traffic safety and incident management in Saudi Arabia. The system not only detects and tracks vehicles with high precision but also classifies the severity of accidents and identifies subsequent hazards like fires, ensuring comprehensive and timely responses to traffic incidents. This innovative approach sets a new benchmark for AI-driven traffic safety solutions and offers a scalable model that can be adapted to other regions and contexts.

Downloads

Download data is not yet available.

References

Mansuri, F.A.; Al-Zalabani, A.H.; Zalat, M.M.; Qabshawi, R.I. Road safety and road traffic accidents in Saudi Arabia: A systematic review of existing evidence. Saudi Med. J. 2015, 36, 418–424. DOI: https://doi.org/10.15537/smj.2015.4.10003

Brahimi, T. Using Artificial Intelligence to Predict Wind Speed for Energy Application in Saudi Arabia. Energies 2019, 12, 4669. DOI: https://doi.org/10.3390/en12244669

Pillai, M.S.; Chaudhary, G.; Khari, M.; Crespo, R.G. Real-time image enhancement for an automatic automobile accident detection through CCTV using deep learning. Soft Comput. 2021, 25, 11929–11940. DOI: https://doi.org/10.1007/s00500-021-05576-w

Kingdom of Saudi Arabia’s Vision 2030. Available online: https://www.my.gov.sa/wps/portal/snp/content/saudivision/!ut/p/ z0/04_Sj9CPykssy0xPLMnMz0vMAfIjo8zivQIsTAwdDQz9LSw8XQ0CnT0s3JxDfA0MLAz0g1Pz9AuyHRUBTTar_g!!/ (accessed on 28 May 2022).

Azmat, Y.; Saad, N. The Safety Policies Practiced in the Construction Industry of Saudi Arabia. 2018. Available online: https: DOI: https://doi.org/10.4172/2165-7556.1000242

//www.longdom.org/open-access/the-safety-policies-practiced-in-the-construction-industry-of-saudi-arabia.pdf (accessed on 7 December 2021).

Egelhaaf, M.; Wolpert, D. Post Collision Vehicle Fire Analysis. Environ. Sci. 2019, 11, 315.

General Department of Traffic. Saher System. Available online: https://www.moi.gov.sa/wps/portal/Home/sectors/ publicsecurity/traffic/contents/!ut/p/z0/04_Sj9CPykssy0xPLMnMz0vMAfIjo8ziDTxNTDwMTYy83V0CTQ0cA71d_T1djI0 MXA30g1Pz9L30o_ArApqSmVVYGOWoH5Wcn1eSWlGiH1FSlJiWlpmsagBlKCQWqRrkJmbmqRoUJ2akFukXZLuHAwCkY5 qs/ (accessed on 12 January 2023).

Lee, C.; Kim, H.; Oh, S.; Doo, I. A Study on Building a “Real-Time Vehicle Accident and Road Obstacle Notification Model” Using AI CCTV. Appl. Sci. 2021, 11, 8210. DOI: https://doi.org/10.3390/app11178210

Nancy, P.; Dilli Rao, D.; Babuaravind, G.; Bhanushree, S. Highway Accident Detection and Notification Usingmachine Learning.

Int. J. Comput. Sci. Mob. Comput. 2020, 9, 168–176.

Ghosh, S.; Sunny, S.J.; Roney, R. Accident Detection Using Convolutional Neural Networks. In Proceedings of the 2019 International Conference on Data Science and Communication (IconDSC), Bangalore, India, 1–2 March 2019. DOI: https://doi.org/10.1109/IconDSC.2019.8816881

Ijjina, E.P.; Chand, D.; Gupta, S.; Goutham, K. Computer Vision-based Accident Detection in Traffic Surveillance. In Proceedings of the 2019 10th International Conference on Computing, Communication and Networking Technologies (ICCCNT), Kanpur, India, 6–8 July 2019. DOI: https://doi.org/10.1109/ICCCNT45670.2019.8944469

Gollapalli, M.; Rahman, A.U.; Musleh, D.; Ibrahim, N.; Khan, M.A.; Abbas, S.; Atta, A.; Farooqui, M.; Iqbal, T.; Ahmed, M.S.; et al. A Neuro-Fuzzy Approach to Road Traffic Congestion Prediction. Comput. Mater. Contin. 2022, 73, 295–310. DOI: https://doi.org/10.32604/cmc.2022.027925

Ahmed, M.I.B.; Rahman, A.-U.; Farooqui, M.; Alamoudi, F.; Baageel, R.; Alqarni, A. Early Identification of COVID-19 Using Dynamic Fuzzy Rule Based System. Math. Model. Eng. Probl. 2021, 8, 805–812. DOI: https://doi.org/10.18280/mmep.080517

Rahman, A.; Basheer, M.I. Virtual Clinic: A CDSS Assisted Telemedicine Framework. In Telemedicine Technologies; Academic Press: Cambridge, MA, USA, 2019; pp. 227–238. DOI: https://doi.org/10.1016/B978-0-12-816948-3.00015-5

Alotaibi, S.M.; Rahman, A.U.; Basheer, M.I.; Khan, M.A. Ensemble Machine Learning Based Identification of Pediatric Epilepsy.

Comput. Mater. Contin. 2021, 68, 149–165. DOI: https://doi.org/10.32604/cmc.2021.015976

Rahman, A.-U.; Abbas, S.; Gollapalli, M.; Ahmed, R.; Aftab, S.; Ahmad, M.; Khan, M.A.; Mosavi, A. Rainfall Prediction System Using Machine Learning Fusion for Smart Cities. Sensors 2022, 22, 3504. DOI: https://doi.org/10.3390/s22093504

Overview of the YOLO Object Detection Algorithm|by ODSC—Open Data Science. 25 September 2018. Available online: https://odsc.medium.com/overview-of-the-yolo-object-detection-algorithm-7b52a745d3e0 (accessed on 10 May 2022).

MEGA The Privacy Company User-Encrypted Cloud Services. Available online: https://mega.nz/folder/wtdFEK5I#i-DhrihW2 Gprb07xWHhlhQ (accessed on 30 August 2022).

Accident Detection from CCTV Footage. Available online: https://www.kaggle.com/datasets/ckay16/accident-detection-from- cctv-footage (accessed on 30 August 2022).

Car Object Detection. Available online: https://www.kaggle.com/datasets/sshikamaru/car-object-detection (accessed on 30 August 2022).

Alasadi, S.A.; Bhaya, W.S. Review of data preprocessing techniques in data mining. J. Eng. Appl. Sci. 2017, 12, 4102–4107.

Yu, J.; Yang, Y.; Zhang, H.; Sun, H.; Zhang, Z.; Xia, Z.; Zhu, J.; Dai, M.; Wen, H. Spectrum Analysis Enabled Periodic Feature Reconstruction Based Automatic Defect Detection System for Electroluminescence Images of Photovoltaic Modules. Micromachines 2022, 13, 332. DOI: https://doi.org/10.3390/mi13020332

Imran, M.; Alsuhaibani, S.A. Alsuhaibani, S.A. A Neuro-Fuzzy Inference Model for Diabetic Retinopathy Classification. In

Intelligent Data Analysis for Biomedical Applications; Academic Press: Cambridge, MA, USA, 2019; pp. 147–172.

Ibrahim, N.M.; Gabr, D.G.I.; Rahman, A.-U.; Dash, S.; Nayyar, A. A deep learning approach to intelligent fruit identification and family classification. Multimed. Tools Appl. 2022, 81, 27783–27798. DOI: https://doi.org/10.1007/s11042-022-12942-9

Zhang, Z.; Sabuncu, M.R. Generalized Cross Entropy Loss for Training Deep Neural Networks with Noisy Labels. In Proceedings of the 32nd International Conference on Neural Information Processing Systems (NIPS’18), Red Hook, NY, USA, 3–8 December 2018; pp. 8792–8802.

Kingma, D.P.; Lei Ba, J. ADAM: A method for stochastic optimization. In Proceedings of the International Conference on Learning Representations (ICLR), San Diego, CA, USA, 7–9 May 2015.

Prechelt, L. Early Stopping—But When? In Neural Networks: Tricks of the Trade; Springer: Berlin/Heidelberg, Germany, 1998; pp. 59–69. DOI: https://doi.org/10.1007/3-540-49430-8_3

Jose, A.; Davis, A.; Thomas, A. Accident Detection and Warning System. Int. J. Innov. Sci. Res. Technol. 2021, 6, 1532–1535.

Sang, J.; Wu, Z.; Guo, P.; Hu, H.; Xiang, H.; Zhang, Q.; Cai, B. An Improved YOLOv2 for Vehicle Detection. Sensors 2018, 18, 4272. DOI: https://doi.org/10.3390/s18124272

Song, H.; Liang, H.; Li, H.; Dai, Z.; Yun, X. Vision-based vehicle detection and counting system using deep learning in highway scenes. Eur. Transp. Res. Rev. 2019, 11, 51. DOI: https://doi.org/10.1186/s12544-019-0390-4

Mouna, B.; Mohamed, O. A Vehicle Detection Approach Using Deep Learning Network. In Proceedings of the 2019 International Conference on Internet of Things, Embedded Systems and Communications (IINTEC), Tunis, Tunisia, 20–22 December 2019. DOI: https://doi.org/10.1109/IINTEC48298.2019.9112137

Mansour, A.; Hassan, A.; Hussein, W.M.; Said, E. Automated vehicle detection in satellite images using deep learning. IOP Conf. Ser. Mater. Sci. Eng. 2019, 610, 012027. DOI: https://doi.org/10.1088/1757-899X/610/1/012027

Vishnu, V.C.M.; Rajalakshmi, M.; Nedunchezhian, R. Intelligent traffic video surveillance and accident detection system with dynamic traffic signal control. Clust. Comput. 2018, 21, 135–147. DOI: https://doi.org/10.1007/s10586-017-0974-5

Cheng, Y.; Bai, H.; Li, Z.; Zhang, Y.; Chen, L.; Chen, K. Information Inversion and Dynamic Analysis of Video-Driven Fire Detection Based on Object-Oriented Segmentation. Fire Technol. 2022, 58, 1599–1616. DOI: https://doi.org/10.1007/s10694-022-01214-5

Olatunji, S.O.; Alotaibi, S.; Almutairi, E.; Alrabae, Z.; Almajid, Y.; Altabee, R.; Altassan, M.; Ahmed, M.I.B.; Farooqui, M.; Alhiyafi,

J. Early diagnosis of thyroid cancer diseases using computational intelligence techniques: A case study of a Saudi Arabian dataset.

Comput. Biol. Med. 2021, 131, 104267.

Downloads

Published

16-06-2024

Issue

Section

Research Articles

How to Cite

Advanced Traffic Incident Detection and Classification with Real-Time Computer Vision. (2024). International Journal of Scientific Research in Science and Technology, 11(3), 629-638. https://doi.org/10.32628/IJSRST2411330

Similar Articles

1-10 of 124

You may also start an advanced similarity search for this article.