{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,4,17]],"date-time":"2026-04-17T16:28:50Z","timestamp":1776443330113,"version":"3.51.2"},"reference-count":48,"publisher":"MDPI AG","issue":"5","license":[{"start":{"date-parts":[[2024,5,10]],"date-time":"2024-05-10T00:00:00Z","timestamp":1715299200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Algorithms"],"abstract":"<jats:p>In this study, we introduce an innovative methodology for the detection of helmet usage violations among motorcyclists, integrating the YOLOv8 object detection algorithm with deep convolutional generative adversarial networks (DCGANs). The objective of this research is to enhance the precision of existing helmet violation detection techniques, which are typically reliant on manual inspection and susceptible to inaccuracies. The proposed methodology involves model training on an extensive dataset comprising both authentic and synthetic images, and demonstrates high accuracy in identifying helmet violations, including scenarios with multiple riders. Data augmentation, in conjunction with synthetic images produced by DCGANs, is utilized to expand the training data volume, particularly focusing on imbalanced classes, thereby facilitating superior model generalization to real-world circumstances. The stand-alone YOLOv8 model exhibited an F1 score of 0.91 for all classes at a confidence level of 0.617, whereas the DCGANs + YOLOv8 model demonstrated an F1 score of 0.96 for all classes at a reduced confidence level of 0.334. These findings highlight the potential of DCGANs in enhancing the accuracy of helmet rule violation detection, thus fostering safer motorcycling practices.<\/jats:p>","DOI":"10.3390\/a17050202","type":"journal-article","created":{"date-parts":[[2024,5,10]],"date-time":"2024-05-10T03:21:04Z","timestamp":1715311264000},"page":"202","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":13,"title":["Enforcing Traffic Safety: A Deep Learning Approach for Detecting Motorcyclists\u2019 Helmet Violations Using YOLOv8 and Deep Convolutional Generative Adversarial Network-Generated Images"],"prefix":"10.3390","volume":"17","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-4265-071X","authenticated-orcid":false,"given":"Maged","family":"Shoman","sequence":"first","affiliation":[{"name":"Department of Civil Engineering, University of British Columbia, Vancouver, BC V6T 1Z4, Canada"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-2929-9750","authenticated-orcid":false,"given":"Tarek","family":"Ghoul","sequence":"additional","affiliation":[{"name":"Department of Civil Engineering, University of British Columbia, Vancouver, BC V6T 1Z4, Canada"}]},{"given":"Gabriel","family":"Lanzaro","sequence":"additional","affiliation":[{"name":"Department of Civil Engineering, University of British Columbia, Vancouver, BC V6T 1Z4, Canada"}]},{"given":"Tala","family":"Alsharif","sequence":"additional","affiliation":[{"name":"Department of Civil Engineering, University of British Columbia, Vancouver, BC V6T 1Z4, Canada"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7816-7834","authenticated-orcid":false,"given":"Suliman","family":"Gargoum","sequence":"additional","affiliation":[{"name":"Department of Civil Engineering, University of British Columbia, Vancouver, BC V6T 1Z4, Canada"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-8797-0541","authenticated-orcid":false,"given":"Tarek","family":"Sayed","sequence":"additional","affiliation":[{"name":"Department of Civil Engineering, University of British Columbia, Vancouver, BC V6T 1Z4, Canada"}]}],"member":"1968","published-online":{"date-parts":[[2024,5,10]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"04022038","DOI":"10.1061\/(ASCE)CP.1943-5487.0001053","article-title":"Modeling Motorcyclist\u2013Pedestrian Near Misses: A Multiagent Adversarial Inverse Reinforcement Learning Approach","volume":"36","author":"Lanzaro","year":"2022","journal-title":"J. Comput. Civ. Eng."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"12","DOI":"10.1016\/j.aap.2010.10.031","article-title":"Powered two wheelers in a changing world\u2014Challenges and opportunities","volume":"44","author":"Haworth","year":"2012","journal-title":"Accid. Anal. Prev."},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"1182","DOI":"10.1097\/TA.0000000000000601","article-title":"National mandatory motorcycle helmet laws may save $2.2 billion annually: An inpatient and value of statistical life analysis","volume":"78","author":"Dua","year":"2015","journal-title":"J. Trauma Acute Care Surg."},{"key":"ref_4","unstructured":"World Health Organization (2018). Global Status Report on Road Safety 2018, World Health Organization. Available online: https:\/\/apps.who.int\/iris\/handle\/10665\/276462."},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"15","DOI":"10.1016\/0001-4575(95)00037-2","article-title":"Age and experience in motorcycling safety","volume":"28","author":"Rutter","year":"1996","journal-title":"Accid. Anal. Prev."},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"182","DOI":"10.1080\/15389588.2016.1225298","article-title":"Powered two-wheeler riders\u2019 risk of crashes associated with filtering on urban roads","volume":"18","author":"Clabaux","year":"2017","journal-title":"Traffic Inj. Prev."},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"32","DOI":"10.1136\/ip.6.1.32","article-title":"Increasing age and experience: Are both protective against motorcycle injury? A case-control study","volume":"6","author":"Mullin","year":"2000","journal-title":"Inj. Prev."},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"133","DOI":"10.1016\/j.trf.2014.04.004","article-title":"Powered-Two-Wheelers kinematic characteristics and interactions during filtering and overtaking in urban arterials","volume":"24","author":"Vlahogianni","year":"2014","journal-title":"Transp. Res. Part F Traffic Psychol. Behav."},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"363","DOI":"10.1016\/0001-4575(94)00079-2","article-title":"Relationship of helmet use and head injuries among motorcycle crash victims in El Paso County, Colorado, 1989\u20131990","volume":"27","author":"Gabella","year":"1995","journal-title":"Accid. Anal. Prev."},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"183","DOI":"10.1016\/S0001-4575(01)00102-6","article-title":"Effect of the helmet act for motorcyclists in Thailand","volume":"35","author":"Ichikawa","year":"2003","journal-title":"Accid. Anal. Prev."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"67","DOI":"10.1016\/j.jsr.2016.07.001","article-title":"Fatal and serious injuries related to vulnerable road users in Canada","volume":"58","author":"Vanlaar","year":"2016","journal-title":"J. Safety Res."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"227","DOI":"10.1061\/(ASCE)0733-947X(2006)132:3(227)","article-title":"Risk Factors to Driver Fatalities in Single-Vehicle Crashes: Comparisons between Non-Motorcycle Drivers and Motorcyclists","volume":"132","author":"Chang","year":"2006","journal-title":"J. Transp. Eng."},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"142","DOI":"10.1016\/j.iatssr.2019.12.001","article-title":"A review of behavioural issues contribution to motorcycle safety","volume":"44","author":"Yousif","year":"2020","journal-title":"IATSS Res."},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"29","DOI":"10.1016\/j.ssci.2015.05.002","article-title":"Safety messages and visibility of vulnerable road users for drivers","volume":"79","author":"Vienne","year":"2015","journal-title":"Saf. Sci."},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"125","DOI":"10.1016\/j.aap.2018.06.015","article-title":"Correlations between mobile phone use and other risky behaviours while riding a motorcycle","volume":"118","author":"Truong","year":"2018","journal-title":"Accid. Anal. Prev."},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"92","DOI":"10.1016\/j.trf.2015.11.006","article-title":"Motorcycle riders\u2019 self-reported aggression when riding compared with car driving","volume":"36","author":"Rowden","year":"2016","journal-title":"Transp. Res. Part F Traffic Psychol. Behav."},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"109","DOI":"10.1016\/j.trf.2017.08.006","article-title":"Factors associated with motorcyclists\u2019 speed behaviour on Malaysian roads","volume":"50","author":"Manan","year":"2017","journal-title":"Transp. Res. Part F Traffic Psychol. Behav."},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"99","DOI":"10.1097\/00005373-197502000-00003","article-title":"Injury patterns in motorcycle collisions","volume":"15","author":"Drysdale","year":"1975","journal-title":"J. Trauma Inj. Infect. Crit. Care"},{"key":"ref_19","first-page":"1101","article-title":"An Evidence-Based Review: Helmet Efficacy to Reduce Head Injury and Mortality in Motorcycle Crashes: EAST Practice Management Guidelines","volume":"69","author":"MacLeod","year":"2010","journal-title":"J. Trauma Inj. Infect. Crit. Care"},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"349","DOI":"10.1016\/j.aap.2004.09.006","article-title":"Helmet use and motorcycle fatalities in Taiwan","volume":"37","author":"Keng","year":"2005","journal-title":"Accid. Anal. Prev."},{"key":"ref_21","first-page":"33","article-title":"An analysis of the injury severity of motorcycle crashes in Brazil using mixed ordered response models","volume":"9","author":"Cunto","year":"2017","journal-title":"J. Transp. Saf. Secur."},{"key":"ref_22","unstructured":"Viola, P., and Jones, M. (2001, January 8\u201314). Rapid object detection using a boosted cascade of simple features. Proceedings of the 2001 IEEE Computer Society Conference on Computer Vision and Pattern Recognition, CVPR 2001, Kauai, HI, USA."},{"key":"ref_23","unstructured":"Dalal, N., and Triggs, B. (2005, January 20\u201326). Histograms of Oriented Gradients for Human Detection. Proceedings of the 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR\u201905), San Diego, CA, USA."},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"91","DOI":"10.1023\/B:VISI.0000029664.99615.94","article-title":"Distinctive Image Features from Scale-Invariant Keypoints","volume":"60","author":"Lowe","year":"2004","journal-title":"Int. J. Comput. Vis."},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"275","DOI":"10.1007\/s42421-020-00031-y","article-title":"Deep learning framework for predicting bus delays on multiple routes using heterogenous datasets","volume":"2","author":"Shoman","year":"2020","journal-title":"J. Big Data Anal. Transp."},{"key":"ref_26","doi-asserted-by":"crossref","unstructured":"He, K., Gkioxari, G., Doll\u00c5Lar, P., and Girshick, R. (2018). Mask R-CNN. arXiv, Available online: http:\/\/arxiv.org\/abs\/1703.06870.","DOI":"10.1109\/ICCV.2017.322"},{"key":"ref_27","unstructured":"Ren, S., He, K., Girshick, R., and Sun, J. (2015). Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks. arXiv."},{"key":"ref_28","doi-asserted-by":"crossref","unstructured":"Aboah, A., Shoman, M., Mandal, V., Davami, S., Adu-Gyamfi, Y., and Sharma, A. (2021, January 19\u201325). A vision-based system for traffic anomaly detection using deep learning and decision trees. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR) Workshops, Nashville, TN, USA.","DOI":"10.1109\/CVPRW53098.2021.00475"},{"key":"ref_29","doi-asserted-by":"crossref","unstructured":"Shoman, M., Aboah, A., Morehead, A., Duan, Y., Daud, A., and Adu-Gyamfi, Y. (2022, January 18\u201324). A region based deep learning approach to automated retail checkout. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR) Workshops, New Orleans, LA, USA.","DOI":"10.1109\/CVPRW56347.2022.00362"},{"key":"ref_30","doi-asserted-by":"crossref","unstructured":"Redmon, J., Divvala, S., Girshick, R., and Farhadi, A. (2016, January 27\u201330). You Only Look Once: Unified, Real-Time Object Detection. Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.","DOI":"10.1109\/CVPR.2016.91"},{"key":"ref_31","doi-asserted-by":"crossref","unstructured":"Dahiya, K., Singh, D., and Mohan, C.K. (2016, January 24\u201329). Automatic detection of bike-riders without helmet using surveillance videos in real-time. Proceedings of the 2016 International Joint Conference on Neural Networks (IJCNN), Vancouver, BC, Canada.","DOI":"10.1109\/IJCNN.2016.7727586"},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"185","DOI":"10.14445\/22315381\/IJETT-V35P241","article-title":"Automatic helmet detection on public roads","volume":"35","author":"Desai","year":"2016","journal-title":"Int. J. Eng. Trends Technol."},{"key":"ref_33","unstructured":"Medimi, V.S., and Mavilla Vari Palli, A.J. (2022). A Comparative Study of YOLO and Haar Cascade Algorithm for Helmet and License Plate Detection of Motorcycles, Blekinge Institute of Technology."},{"key":"ref_34","doi-asserted-by":"crossref","first-page":"707","DOI":"10.1177\/03611981221076119","article-title":"Modeling Pedestrian Temporal Violations at Signalized Crosswalks: A Random Intercept Parametric Survival Model","volume":"2676","author":"Liu","year":"2022","journal-title":"Transp. Res. Rec. J. Transp. Res. Board"},{"key":"ref_35","first-page":"910","article-title":"Modeling lateral interactions between motorized vehicles and non-motorized vehicles in mixed traffic using accelerated failure duration model","volume":"18","author":"Liu","year":"2022","journal-title":"Transp. A Transp. Sci."},{"key":"ref_36","unstructured":"Bochkovskiy, A., Wang, C.-Y., and Liao, H.-Y.M. (2023, April 29). YOLOv4: Optimal Speed and Accuracy of Object Detection. Available online: http:\/\/arxiv.org\/abs\/2004.10934."},{"key":"ref_37","unstructured":"Jocher, G. (2021). ultralytics\/yolov5: v6.0\u2014YOLOv5n \u2018Nano\u2019 models, Roboflow integration, TensorFlow export, OpenCV DNN support. Zenodo."},{"key":"ref_38","doi-asserted-by":"crossref","first-page":"1066","DOI":"10.1016\/j.procs.2022.01.135","article-title":"A Review of Yolo Algorithm Developments","volume":"199","author":"Jiang","year":"2022","journal-title":"Procedia Comput. Sci."},{"key":"ref_39","doi-asserted-by":"crossref","first-page":"3623","DOI":"10.1049\/ipr2.12295","article-title":"Real-time automatic helmet detection of motorcyclists in urban traffic using improved YOLOv5 detector","volume":"15","author":"Jia","year":"2021","journal-title":"IET Image Process."},{"key":"ref_40","doi-asserted-by":"crossref","first-page":"105319","DOI":"10.1016\/j.aap.2019.105319","article-title":"Detecting motorcycle helmet use with deep learning","volume":"134","author":"Siebert","year":"2020","journal-title":"Accid. Anal. Prev."},{"key":"ref_41","doi-asserted-by":"crossref","unstructured":"Silva, R.R.V.E., Aires, K.R.T., and De Melo Souza Veras, R. (2014, January 26\u201330). Helmet Detection on Motorcyclists Using Image Descriptors and Classifiers. Proceedings of the 2014 27th SIBGRAPI Conference on Graphics, Patterns and Images, Rio de Janeiro, Brazil.","DOI":"10.1109\/SIBGRAPI.2014.28"},{"key":"ref_42","doi-asserted-by":"crossref","unstructured":"Doungmala, P., and Klubsuwan, K. (2016, January 8\u201310). Helmet Wearing Detection in Thailand Using Haar Like Feature and Circle Hough Transform on Image Processing. Proceedings of the 2016 IEEE International Conference on Computer and Information Technology (CIT), Nadi, Fiji.","DOI":"10.1109\/CIT.2016.87"},{"key":"ref_43","unstructured":"Jie, L., Huanming, L., Tianzheng, W., Min, J., Shuai, W., Kang, L., and Xiaoguang, Z. (2017, January 4\u20136). \u201cSafety helmet wearing detection based on image processing and machine learning. Proceedings of the 2017 Ninth International Conference on Advanced Computational Intelligence (ICACI), Doha, Qatar."},{"key":"ref_44","unstructured":"Radford, A., Metz, L., and Chintala, S. (2015). Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks. arXiv."},{"key":"ref_45","doi-asserted-by":"crossref","first-page":"2250010","DOI":"10.1142\/S2424922X22500103","article-title":"Multi-purpose, multi-step deep learning framework for network-level traffic flow prediction","volume":"14","author":"Shoman","year":"2022","journal-title":"Adv. Data Sci. Adapt. Anal."},{"key":"ref_46","doi-asserted-by":"crossref","unstructured":"Shoman, M., Aboah, A., Daud, A., and Adu-Gyamfi, Y. (2024). Graph Convolutional Gated Recurrent Unit Network for Traffic Prediction using Loop Detector. Data Adv. Data Sci. Adapt. Anal.","DOI":"10.1142\/S2424922X24500013"},{"key":"ref_47","doi-asserted-by":"crossref","first-page":"139","DOI":"10.1145\/3422622","article-title":"Generative adversarial networks","volume":"63","author":"Goodfellow","year":"2020","journal-title":"Commun. ACM"},{"key":"ref_48","doi-asserted-by":"crossref","unstructured":"Lin, T.-Y., Goyal, P., Girshick, R., He, K., and Dollar, P. (2017, January 22\u201329). Focal Loss for Dense Object Detection. Proceedings of the 2017 IEEE International Conference on Computer Vision (ICCV), Venice, Italy.","DOI":"10.1109\/ICCV.2017.324"}],"container-title":["Algorithms"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1999-4893\/17\/5\/202\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T14:43:14Z","timestamp":1760107394000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1999-4893\/17\/5\/202"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,5,10]]},"references-count":48,"journal-issue":{"issue":"5","published-online":{"date-parts":[[2024,5]]}},"alternative-id":["a17050202"],"URL":"https:\/\/doi.org\/10.3390\/a17050202","relation":{},"ISSN":["1999-4893"],"issn-type":[{"value":"1999-4893","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024,5,10]]}}}