DEVELOPMENT OF A SOUND-BASED MOBILE APPLICATION FOR ROAD ACCIDENT DETECTION USING MACHINE LEARNING AND SPECTROGRAM ANALYSIS
DOI:
https://doi.org/10.37943/21TCOP5848Keywords:
Road accidents, sound signal analysis, emergency response, crash detection, SMS integration, machine learning, real-time systemAbstract
Road accidents continue to pose a serious threat to public safety, underscoring the need for innovative, automated emergency response systems. This study presents the development of a mobile application that detects road accidents by analyzing audio signals in real time and immediately sends SMS alerts with GPS coordinates to emergency services and user-specified contacts. The system comprises two parts: a user-facing Android application and a server-side component for data processing. To build and train the detection models, we leverage the MIVIA Road Audio Events dataset and applied preprocessing techniques including amplitude normalization, background noise filtering, and data augmentation. Feature extraction involved zero-crossing rate, spectral centroid, spectral flux, energy entropy, short-time Fourier transform (STFT), and Mel-frequency cepstral coefficients (MFCCs). Two classification approaches were investigated: traditional machine learning models (Support Vector Machine, Random Forest, Gradient Boosting) and a deep learning model based on convolutional neural networks (CNNs) using Mel spectrogram inputs. Experimental results demonstrate that the CNN model achieved the highest performance with 91.2% accuracy, 89.5% recall, and an F1-score of 90.3%, outperforming the best classical model (Random Forest), which achieved 85.1% accuracy. The system also reduced the average accident alert time from 5–7 minutes to 1–2 minutes, representing a 60–80% improvement in emergency response speed. These results confirm the system’s reliability and practical benefit, particularly in regions like Kazakhstan, where timely medical intervention is critical. Limitations include reliance on smartphone availability, internet access, and environmental sound conditions. Future work will explore real-world testing, integration of accelerometer and gyroscope data, and deployment of edge computing for faster on-device processing. Overall, the proposed solution is a cost-effective, scalable approach for improving road safety and saving lives through rapid, automated accident detection.
References
Committee on Legal Statistics and Special Records of the Prosecutor General’s Office. (2024, October 21). Over 1,700 killed in road accidents countrywide in 9M2024. Kazinform News Agency. https://en.inform.kz/news/over-1700-killed-in-road-accidents-countrywide-in-9m2024-2b6c91/
Adeyemi, A. A., Ranasinghe, S. M. P. M. S., & Ranasinghe, L. M. M. R. S. (2022). The association of crash response times and deaths at the crash scene: A cross-sectional analysis. Journal of the American College of Emergency Physicians Open, 3(1), e12607. https://pmc.ncbi.nlm.nih.gov/articles/PMC9790462/
Zaldivar, J., Calafate, C., Cano, J.-C., & Manzoni, P. (2011). Providing accident detection in vehicular networks through OBD-II devices and Android-based smartphones. Proceedings - Conference on Local Computer Networks (LCN), 813–819. https://doi.org/10.1109/LCN.2011.6115556
President of the Republic of Kazakhstan. (2024). Әділетті Қазақстан – заң мен тәртіп, экономикалық өсу, қоғамдық оптимизм [A Just Kazakhstan – Law and Order, Economic Growth, Public Optimism]. Address to the Nation. https://www.akorda.kz/kz/memleket-basshysy-kasym-zhomart-tokaevtyn-adiletti-kazakstan-zan-men-tartip-ekonomikalyk-osim-kogamdyk-optimizm-atty-kazakstan-halkyna-zholdauy-285659
Alwan, Z., & Alshaibani, H. (2015). Car accident detection and notification system using smartphone. International Journal of Computer Science and Mobile Computing, 4, 620–635.
Statista. (2025). Mobile operating system market share worldwide. https://www.statista.com/statistics/272698/global-market-share-held-by-mobile-operating-systems-since-2009/
Government of the Republic of Kazakhstan. (n.d.). https://www.gov.kz/memleket/entities/pravstat/press/news/details/444039?lang=ru
Gouyon, F., Pachet, F., & Delerue, O. (2000). On the use of zero-crossing rate for an application of classification of percussive sounds.
Giannakopoulos, T., Pikrakis, A., & Theodoridis, S. (2007). A multi-class audio classification method with respect to violent content in movies using Bayesian networks. 2007 IEEE 9th Workshop on Multimedia Signal Processing, 90–93. https://doi.org/10.1109/MMSP.2007.4412825
Carletti, V., Foggia, P., Percannella, G., Saggese, A., Strisciuglio, N., & Vento, M. (2013). Audio surveillance using a bag of aural words classifier. 2013 10th IEEE International Conference on Advanced Video and Signal Based Surveillance, 81–86. https://doi.org/10.1109/AVSS.2013.6636620
Dixon, S. (2006). Simple spectrum-based onset detection. https://www.eecs.qmul.ac.uk/~simond/pub/2006/mirex-onset.pdf
Sammarco, M., & Detyniecki, M. (2018). Crashzam: Sound-based car crash detection. Proceedings of the 4th International Conference on Vehicle Technology and Intelligent Transport Systems, 27–35. https://doi.org/10.5220/0006629200270035
Aloul, D. F., Zualkernan, M. I. A., Abu-Salma, R., Al-Ali, M. H., & Al-Merri, M. M. (2014). iBump: Smartphone application to detect car accidents.
Hong, G., & Suh, D. (2023). Mel spectrogram-based advanced deep temporal clustering model with unsupervised data for fault diagnosis. Expert Systems with Applications, 217, 119551. https://doi.org/10.1016/j.eswa.2023.119551
Mivia Lab. (2015). Mivia Road Audio Events Dataset. https://mivia.unisa.it/datasets/audio-analysis/mivia-road-audio-events-data-set/
Gomathy, D. C. K., Rohan, K., Reddy, B. M. K., & Geetha, D. V. (2022). Accident detection and alert system. Journal of Engineering, 12(3).
Ghosal, S., Chatterjee, T., Ray, K., Saha, H., Laha, B., Mondal, S., Mondal, S., Banerjee, R., & Jana, C. (2023). IoT-based mobile application for road accident detection and notification. 2023 International Conference on Advancement in Computation & Computer Technologies (InCACCT), 1–6. https://doi.org/10.1109/InCACCT57535.2023.10141776
White, J., Thompson, C., Turner, H., Dougherty, B., & Schmidt, D. C. (2011). WreckWatch: Automatic traffic accident detection and notification with smartphones. Mobile Networks and Applications, 16(3), 285–303.
Kumar Gannina, A. R., Jaffarullah, A. A., Reddy, T. M., Subba Reddy, S. M., Vikas, A. S., Mathi, S., & Ramalingam, V. (2024). A new approach to road incident detection leveraging live traffic data: An empirical investigation. Procedia Computer Science, 235, 2288–2296. https://doi.org/10.1016/j.procs.2024.04.217
Sarlan, A., Fatimah Wan Ahmad, W., Ahmad, R., & Roslan, N. (2016). Emergency accident alert mobile application. Indian Journal of Science and Technology, 9(34). https://doi.org/10.17485/ijst/2016/v9i34/100831
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Articles are open access under the Creative Commons License

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Authors who publish a manuscript in this journal agree to the following terms:
- The authors reserve the right to authorship of their work and transfer to the journal the right of first publication under the terms of the Creative Commons Attribution License, which allows others to freely distribute the published work with a mandatory link to the the original work and the first publication of the work in this journal.
- Authors have the right to conclude independent additional agreements that relate to the non-exclusive distribution of the work in the form in which it was published by this journal (for example, to post the work in the electronic repository of the institution or publish as part of a monograph), providing the link to the first publication of the work in this journal.
- Other terms stated in the Copyright Agreement.