Optimizing Driving Completeness Prediction Models: A Comparative Study of YOLOv7 and Naïve Bayes at Institut Teknologi Sumatera

  • Muhammad Habib Algifari Institut Teknologi Sumatera
  • Ilham Firman Ashari Institut Teknologi Sumatera
  • Eko Dwi Nugroho Institut Teknologi Sumatera
  • Aidil Afriansyah Institut Teknologi Sumatera
  • Mario Vebriyanto Institut Teknologi Sumatera
Keywords: Model, YOLOv7, Naive Bayes, Object Detection, Driving Equipment

Abstract

The number of vehicles in Indonesia is increasing every year. The number of motor vehicle accidents in 2022 will be more than 100,000. It is hoped that several regulations regarding motorbike rider equipment will increase awareness of rider safety. By utilizing image recognition technology developed with artificial intelligence, it is possible to create digital image processing models or images that are fast and accurate for detecting driving equipment. The object detection model developed uses a dataset in the form of images of motorists who want to enter ITERA through the main gate. The object detection model will also be integrated with the classification model to create a program that can detect motorbike rider equipment, such as mirrors, helmets, not wearing a helmet, shoes, not wearing shoes, open clothes, and closed clothes. After detecting motorized rider equipment in the classification area, the results will be transferred to a classification model to determine the level of safety for motorized riders, either insufficient or sufficient safety. The test results show that the optimal object detection model was found at an epoch value of 70 with a batch-size of 16, producing a mAP value of 0.8914. The optimal classification model uses the naive Bayes method which has been trained with a dataset of 62 data and achieves an accuracy of 94%.

Downloads

Download data is not yet available.

References

I. G. K. S. Yasa and N. M. R. Sukardi, “Kajian Yuridis Terhadap Ketentuan Wajib Helm Bagi Pengendara Sepeda Motor Berdasarkan Undang-Undang RI No. 22 Tahun 2009 Tentang Lalu Lintas Dan Angkutan Jalan,” J. Ilm. Raad Kertha, vol. 3, no. 1, pp. 28–47, 2020, doi: 10.47532/jirk.v3i1.167.

F. Feronika, U. Gunadarma, Y. Ratnasari, U. Gunadarma, H. Prabowo, and U. Gunadarma, “Keselamatan Berkendara Sepeda Motor,” no. November, pp. 4–6, 2021.

I. F. Ashari, M. Idris, and M. A. Nasrulah, “Analysis of Combination of Parking System with Face Recognition and QR Code using Histogram of Oriented Gradient Method,” IT J. Res. Dev., vol. 7, no. 1, pp. 94–110, 2022, doi: 10.25299/itjrd.2022.9958.

I. F. Ashari, M. D. Satria, and M. Idris, “Parking System Optimization Based on IoT using Face and Vehicle Plat Recognition via Amazon Web Service and ESP-32 CAM,” Comput. Eng. Appl. J., vol. 11, no. 2, pp. 137–153, 2022, doi: 10.18495/comengapp.v11i2.409.

Muttaqin Muttaqin, Y. Yuswardi, A. Maulidinnawati, A. Parewe, I. F. Ashari, and M. Munsarif, Pengantar Sistem Cerdas. 2023.

J. H. Lo, L. K. Lin, and C. C. Hung, “Real-Time Personal Protective Equipment Compliance Detection Based on Deep Learning Algorithm,” Sustain., vol. 15, no. 1, 2023, doi: 10.3390/su15010391.

Y. EĞİ, “YOLO V7 and Computer Vision-Based Mask-Wearing Warning System for Congested Public Areas,” Iğdır Üniversitesi Fen Bilim. Enstitüsü Derg., vol. 13, no. 1, pp. 22–32, 2023, doi: 10.21597/jist.1243233.

F. Rofii, G. Priyandoko, M. I. Fanani, and A. Suraji, “Vehicle Counting Accuracy Improvement By Identity Sequences Detection Based on Yolov4 Deep Neural Networks,” Teknik, vol. 42, no. 2, pp. 169–177, 2021, doi: 10.14710/teknik.v42i2.37019.

M. Rizal et al., Konsep dan Implementasi Internet of Things, no. Mi. 2023.

Muttaqin, J. Simarmata, M. A. Suryawan, J. Antares, M. N. A. Nur, and I. F. Ashari, Internet of Things (IOT) Teori dan Implementasi. 2023.

H. Chen, S. Hu, R. Hua, and X. Zhao, “Improved naive Bayes classification algorithm for traffic risk management,” EURASIP J. Adv. Signal Process., vol. 2021, no. 1, 2021, doi: 10.1186/s13634-021-00742-6.

I. F. Ashari, F. A, Daffa, and S. A, “Sentiment Analysis of Tweets About Allowing Outdoor Mask Wear Using Naïve Bayes and TextBlob,” Indones. J. Comput. Sci., vol. 12, no. 3, pp. 1092–1103, 2023, doi: 10.33022/ijcs.v12i3.3238.

I. F. Ashari, M. C. Untoro, E. Maharani Sutowo, D. Salsabila, and D. Athiyah Zhabiyan, “Hyperparameter Tuning Feature Selection with Genetic Algorithm and Gaussian Naïve Bayes for Diabetes Disease Prediction,” J. Telemat., vol. 17, no. 1, 2022, [Online]. Available: https://www.researchgate.net/publication/365036216.

M. C. Untoro, M. Praseptiawan, I. F. Ashari, and A. Afriansyah, “Evaluation of Decision Tree, K-NN, Naive Bayes and SVM with MWMOTE on UCI Dataset,” J. Phys. Conf. Ser., vol. 1477, no. 3, 2020, doi: 10.1088/1742-6596/1477/3/032005.

Z. Zou, K. Chen, Z. Shi, Y. Guo, and J. Ye, “Object Detection in 20 Years: A Survey,” Proc. IEEE, vol. 111, no. 3, pp. 257–276, 2023, doi: 10.1109/JPROC.2023.3238524.

C. N. Liunanda, S. Rostianingsih, and A. N. Purbowo, “Implementasi Algoritma YOLO pada Aplikasi Pendeteksi Senjata Tajam di Android,” J. Infra, vol. Vol 8, No., pp. 1–7, 2020.

A. Ardiansyah and N. F. Hasan, “Deteksi dan Klasifikasi Penyakit Pada Daun Kopi Menggunakan Yolov7,” J. Sisfokom (Sistem Inf. dan Komputer), vol. 12, no. 1, pp. 30–35, 2023, doi: 10.32736/sisfokom.v12i1.1545.

Published
2023-11-30
How to Cite
[1]
M. Algifari, I. Ashari, E. Nugroho, A. Afriansyah, and M. Vebriyanto, “Optimizing Driving Completeness Prediction Models: A Comparative Study of YOLOv7 and Naïve Bayes at Institut Teknologi Sumatera”, JAIC, vol. 7, no. 2, pp. 156-164, Nov. 2023.
Section
Articles

Most read articles by the same author(s)