Skip to main content

Detection of Motorcyclists Without a Safety Helmet Through YOLO: Support for Road Safety

  • Conference paper
  • First Online:
Technologies and Innovation (CITI 2022)

Abstract

In this research, the YOLOv4 algorithm based on deep learning was used, with the objective of detecting people who wear a safety helmet while driving a motorcycle, as well as those who do not use it while moving around the city, violating road safety regulations. In this context, the proposed methodology consisted of seven phases that go from the determination of the data source to the validation and deployment, in which the Labellmg tool and the Google Colab online platform are used due to their capacity and flexibility in the work environment. The model was developed using 287 images, of which 60% correspond to training images, 35% to validation and 5% to perform the tests. In addition, 30 additional photographic shots are available at different times of the day to determine the model's behaviour and precision. The results show that the trained model has a detection efficiency of 88.65% and that sing YOLOv5x could improve the detection quality by having a more significant number of layers.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 64.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 84.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Berrones-Sanz, L.D.: Análisis de los accidentes y las lesiones de los motociclistas en México. Gac. Med. Mex. 153, 662–671 (2017). https://doi.org/10.24875/GMM017002812

    Article  Google Scholar 

  2. Torres, D.F.M., Pérez, G.L., De Segura, B.E.: Analysis of road safety in educational institutions with multiple sites, cartagena de indias, colombia. Prod. y Limpia. 14, 93–107 (2020). https://doi.org/10.22507/PML.V14N2A7

    Article  Google Scholar 

  3. Torres, F.T., Baltazar, J.Y., Vargas, D.P.: Physical and operational replantation of an urban roundabout of five interior rails in congestion situation to improve its road efficiency and safety. In: Proceedings of the LACCEI international Multi-conference for Engineering, Education and Technology. Latin American and Caribbean Consortium of Engineering Institutions (2020). https://doi.org/10.18687/LACCEI2020.1.1.385

  4. de Sousa, R.A., et al.: Tendência temporal e distribuição espacial da mortalidade por acidentes de trânsito no Piauí, 2000-2017. Epidemiologia e Serviços de Saúde 29(5), e2019558 (2020). https://doi.org/10.1590/s1679-49742020000500005

    Article  Google Scholar 

  5. Valencia-Alaix, V.G., Betancur, B.R., Jimenez, C.L., Mendez, R.: Estimation of safety performance functions (SPF) at signalized intersections in Medellín Colombia. DYNA 87(214), 215–220 (2020). https://doi.org/10.15446/dyna.v87n214.83880

    Article  Google Scholar 

  6. Freitas, E.B. da S., de França, I.S.X.: Motor deficiencies and trauma severity in motorcyclist victims of road traffic accidents. Cogitare Enferm. 23, 1–9 (2018). https://doi.org/10.5380/ce.v23i4.57751

  7. Padmini, V.L., Kishore, G.K., Durgamalleswarao, P., Sree, P.T.: Real time automatic detection of motorcyclists with and without a safety helmet. In: Proceedings - International Conference Smart Electronics Communication ICOSEC 2020, pp. 1251–1256 (2020). https://doi.org/10.1109/ICOSEC49089.2020.9215415

  8. Fracarolli, J.A., Adimari Pavarin, F.F., Castro, W., Blasco, J.: Computer vision applied to food and agricultural products. Rev. Cienc. Agron. 51, 1–20 (2020). https://doi.org/10.5935/1806-6690.20200087

    Article  Google Scholar 

  9. Porteiro, R., Hernández-Callejo, L., Nesmachnow, S.: Electricity demand forecasting in industrial and residential facilities using ensemble machine learning. Rev. Fac. Ing. 102, 9–25 (2022). https://doi.org/10.17533/UDEA.REDIN.20200584

  10. Sun, M., Zhang, H., Huang, Z., Luo, Y., Li, Y.: Road infrared target detection with I-YOLO. IET Image Process. 16, 92–101 (2022). https://doi.org/10.1049/IPR2.12331

    Article  Google Scholar 

  11. Lu, Y., Yang, B., Gao, Y., Xu, Z.: An automatic sorting system for electronic components detached from waste printed circuit boards. Waste Manag. 137, 1–8 (2022). https://doi.org/10.1016/J.WASMAN.2021.10.016

    Article  Google Scholar 

  12. Mancin, W.R., Pereira, L.E.T., Carvalho, R.S.B., Shi, Y., Silupu, W.M.C., Tech, A.R.B.: The use of computer vision to classify Xaraés grass according to nutritional status in nitrogen. Rev. Ciência Agronômica. 53, 1–12 (2022). https://doi.org/10.5935/1806-6690.20220006

  13. Valencia, J., Ramirez-Guerrero, T., Castañeda, L., Toro, M.: Detección de infracciones y matrículas en motocicletas, mediante visión artificial, aplicado a Sistemas Inteligentes de Transporte. RISTI - Revista Ibérica de Sistemas e Tecnologias de Informação 37, 1–15 (2020). https://doi.org/10.17013/risti.37.1-15

    Article  Google Scholar 

  14. Oviedo, J.E.E., Velastín, S.A., Bedoya, J.W.B.: Espinet v2: a region based deep learning model for detecting motorcycles in urban scenarios. DYNA 86(211), 317–326 (2019). https://doi.org/10.15446/dyna.v86n211.81639

    Article  Google Scholar 

  15. Zheng, Y., Li, X., Xu, L.C., Wen, N.: A deep learning-based approach for moving vehicle counting and short-term traffic prediction from video images. Front. Environ. Sci. 10, 905433 (2022). https://doi.org/10.3389/FENVS.2022.905443

    Article  Google Scholar 

  16. Rodríguez-Rangel, H., Morales-Rosales, L.A., Imperial-Rojo, R., Roman-Garay, M.A., Peralta-Peñuñuri, G.E., Lobato-Báez, M.: Analysis of statistical and artificial intelligence algorithms for real-time speed estimation based on vehicle detection with YOLO. Appl. Sci. 12(6), 2907 (2022). https://doi.org/10.3390/app12062907

    Article  Google Scholar 

  17. Rajpal, R., Yadav, V., Tomar, R.: Applying computation intelligence for improved computer vision capabilities. In: Tomar, R., Hina, M.D., Zitouni, R., Ramdane-Cherif, A. (eds.) Innovative Trends in Computational Intelligence. EICC, pp. 143–176. Springer, Cham (2022). https://doi.org/10.1007/978-3-030-78284-9_7

    Chapter  Google Scholar 

  18. Kuroki, M.: Using Python and Google Colab to teach undergraduate microeconomic theory. Int. Rev. Econ. Educ. 38, 100225 (2021). https://doi.org/10.1016/j.iree.2021.100225

    Article  Google Scholar 

  19. Sadakatul Bari, S.M., Islam, R., Mardia, S.R.: Performance evaluation of convolution neural network based object detection model for Bangladeshi traffic vehicle detection. In: Arefin, M.S., Kaiser, M.S., Bandyopadhyay, A., Ahad, M.A.R., Ray, K. (eds.) Proceedings of the International Conference on Big Data, IoT, and Machine Learning. LNDECT, vol. 95, pp. 115–128. Springer, Singapore (2022). https://doi.org/10.1007/978-981-16-6636-0_10

    Chapter  Google Scholar 

  20. Ray, S., Alshouiliy, K., Agrawal, D.P.: Dimensionality reduction for human activity recognition using google colab. Information 12, 1–23 (2021). https://doi.org/10.3390/info12010006

    Article  Google Scholar 

  21. Zhuxi, M.A., Li, Y., Huang, M., Huang, Q., Cheng, J., Tang, S.: A lightweight detector based on attention mechanism for aluminum strip surface defect detection. Comput. Ind. 136, 103585 (2022). https://doi.org/10.1016/j.compind.2021.103585

    Article  Google Scholar 

  22. Zhang, Y.: Application and analysis of psychological scale based on genetic algorithm in sports psychology. Rev. Bras. Med. do Esporte. 27, 31–34 (2021). https://doi.org/10.1590/1517-8692202127022021_0017

    Article  Google Scholar 

  23. Wang, J., Gao, Z., Zhang, Y., Zhou, J., Wu, J., Li, P.: Real-time detection and location of potted flowers based on a ZED camera and a YOLO V4-tiny deep learning algorithm. Horticulturae 8, 21 (2021). https://doi.org/10.3390/horticulturae8010021

    Article  Google Scholar 

  24. Wang, Z., Zhang, X., Li, J., Luan, K.: A yolo-based target detection model for offshore unmanned aerial vehicle data. Sustainability 13(23), 12980 (2021). https://doi.org/10.3390/su132312980

    Article  Google Scholar 

  25. Li, X., Deng, J., Fang, Y.: Few-shot object detection on remote sensing images. IEEE Trans. Geosci. Remote Sensing 60, 1–14 (2022). https://doi.org/10.1109/TGRS.2021.3051383

    Article  Google Scholar 

  26. Wang, G., Ding, H., Li, B., Nie, R., Zhao, Y.: Trident-YOLO: Improving the precision and speed of mobile device object detection. IET Image Process. 16, 145–157 (2022). https://doi.org/10.1049/IPR2.12340

    Article  Google Scholar 

  27. Guo, F., Wang, Y., Qian, Y.: Computer vision-based approach for smart traffic condition assessment at the railroad grade crossing. Adv. Eng. Inform. 51, 101456 (2022). https://doi.org/10.1016/j.aei.2021.101456

    Article  Google Scholar 

  28. Wang, Z., Jin, L., Wang, S., Xu, H.: Apple stem/calyx real-time recognition using YOLO-v5 algorithm for fruit automatic loading system. Postharvest Biol. Technol. 185, 111808 (2022). https://doi.org/10.1016/j.postharvbio.2021.111808

    Article  Google Scholar 

  29. Wan, L., Liu, R., Sun, L., Nie, H., Wang, X.: UAV swarm based radar signal sorting via multi-source data fusion: A deep transfer learning framework. Inf. Fusion. 78, 90–101 (2022). https://doi.org/10.1016/j.inffus.2021.09.007

    Article  Google Scholar 

  30. Panboonyuen, T., Thongbai, S., Wongweeranimit, W., Santitamnont, P., Suphan, K., Charoenphon, C.: Object detection of road assets using transformer-based yolox with feature pyramid decoder on Thai highway panorama. Information 13, 5 (2021). https://doi.org/10.3390/INFO13010005

    Article  Google Scholar 

  31. López, M.A., Gutiérrez, E.C.: Implementation of a model based on deep learning techniques applied to computer vision in the classification of x-ray images, for the support of the diagnosis of traumatological injuries of the pelvic structure. In: Proceedings of the LACCEI International Multi-conference Engineering Education Technology (2019). https://doi.org/10.18687/LACCEI2019.1.1.395

  32. Francies, M.L., Ata, M.M., Mohamed, M.A.: A robust multiclass 3D object recognition based on modern YOLO deep learning algorithms. Concurr. Comput. Pract. Exp. 34, e6517 (2022). https://doi.org/10.1002/CPE.6517

    Article  Google Scholar 

  33. Peishu, W., Li, H., Zeng, N., Li, F.: FMD-Yolo: An efficient face mask detection method for COVID-19 prevention and control in public. Image Vis. Comput. 117, 104341 (2022). https://doi.org/10.1016/j.imavis.2021.104341

    Article  Google Scholar 

  34. Jintasuttisak, T., Edirisinghe, E., Elbattay, A.: Deep neural network based date palm tree detection in drone imagery. Comput. Electron. Agr. 192, 106560 (2022). https://doi.org/10.1016/j.compag.2021.106560

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Oscar J. M. Peña Cáceres .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Peña Cáceres, O.J.M., More-More, M.A., Yáñez-Palacios, J.F., Samaniego-Cobo, T., Vargas-Vargas, J. (2022). Detection of Motorcyclists Without a Safety Helmet Through YOLO: Support for Road Safety. In: Valencia-García, R., Bucaram-Leverone, M., Del Cioppo-Morstadt, J., Vera-Lucio, N., Jácome-Murillo, E. (eds) Technologies and Innovation. CITI 2022. Communications in Computer and Information Science, vol 1658. Springer, Cham. https://doi.org/10.1007/978-3-031-19961-5_8

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-19961-5_8

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-19960-8

  • Online ISBN: 978-3-031-19961-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics