Application of YOLOv5 and EasyOCR for Odd-Even Detection and Recognition on License Plates
DOI:
https://doi.org/10.25126/jitecs.2025102553Abstract
The increase in the number of vehicles in Indonesia is directly correlated with the escalation in traffic congestion. In addition to congestion, an indirect repercussion of vehicle proliferation is the rise in traffic accidents. The government has undertaken various measures to alleviate traffic congestion, one of which is the implementation of the odd-even system. Automatic License Plate Recognition (ALPR) can be employed to facilitate the identification of odd-even plate numbers. In this study, ALPR employs machine learning methods (K-Nearest Neighbors and Support Vector Machine) as well as deep learning techniques (YOLOv5). EasyOCR is utilized for character recognition on the license plates. Based on the test results, YOLOv5 emerges as the optimal approach for license plate detection. EasyOCR demonstrates proficient character recognition for license plates at distances less than 2 meters.
Downloads
References
[1] BPS, “Perkembangan Jumlah Kendaraan Bermotor Menurut Jenis (Unit), 2019-2021,” 2021, Badan Pusat Statistik. Accessed: Jul. 06, 2023. [Online]. Available: https://www.bps.go.id/indicator/17/57/1/jumlah-kendaraan-bermotor.html
[2] S. Abadiyah, B. Alfandi, and S. E. Dwi Kusuma, “Analisa Kemacetan Lalu Lintas Di Ruas Jalan Raya Gatot Subroto,” Structure, vol. 4, no. 2, p. 88, Feb. 2023, doi: 10.31000/civil.v4i2.8068.
[3] A. A. Putri, Y. P. Tama, and M. Suryandari, “Simulasi Dampak Rencana Penerapan Skema Ganjil Genap di Kota Bekasi,” Jurnal Teknologi Transportasi dan Logistik, vol. 2, no. 2, pp. 145–156, May 2021, doi: 10.52920/jttl.v2i2.35.
[4] J. Tang, L. Wan, J. Schooling, P. Zhao, J. Chen, and S. Wei, “Automatic number plate recognition (ANPR) in smart cities: A systematic review on technological advancements and application cases,” Cities, vol. 129, p. 103833, Oct. 2022, doi: 10.1016/j.cities.2022.103833.
[5] A. R. Hanif, E. Nasrullah, and F. X. A. Setyawan, “Deteksi Karakter Plat Nomor Kendaraan Dengan Menggunakan Metode Optical Character Recognition (OCR),” Jurnal Informatika dan Teknik Elektro Terapan, vol. 11, no. 1, Jan. 2023, doi: 10.23960/jitet.v11i1.2897.
[6] Y. Galahartlambang, T. Khotiah, Zahruddin Fanani, and Afifatul Aprilia Yani Solekhah, “Deteksi Plat Nomor Kendaraan Otomatis Dengan Convolutional Neural Network dan OCR Pada Tempat Parkir ITB Ahmad Dahlan Lamongan,” Jurnal Manajemen Informatika dan Sistem Informasi, vol. 6, no. 2, pp. 114–122, Jun. 2023, doi: 10.36595/misi.v6i2.754.
[7] T. Paryono, A. Fauzi, R. A. Nanda, S. Aripiyanto, and M. Khaerudin, “Detecting Vehicle Numbers Using Google Lens-Based ESP32CAM to Read Number Characters,” MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer, vol. 22, no. 3, pp. 469–480, Jul. 2023, doi: 10.30812/matrik.v22i3.2818.
[8] N. Kanopoulos, N. Vasanthavada, and R. L. Baker, “Design of an Image Edge Detection Filter Using the Sobel Operator,” IEEE J Solid-State Circuits, vol. 23, no. 2, pp. 358–367, 1988, doi: 10.1109/4.996.
[9] N. Dalal and B. Triggs, “Histograms of Oriented Gradients for Human Detection,” in 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR’05), IEEE, 2005, pp. 886–893. doi: 10.1109/CVPR.2005.177.
[10] L. Zhang, W. Xu, C. Shen, and Y. Huang, “Vision-Based On-Road Nighttime Vehicle Detection and Tracking Using Improved HOG Features,” Sensors, vol. 24, no. 5, p. 1590, Feb. 2024, doi: 10.3390/s24051590.
[11] F. A.-I. Achyunda Putra, M. Andarwati, G. Swalaganata, and A. Risfandini, “Comparison SIFT and HOG Algorithm for Vehicle Classification in Malang Probolinggo,” in 2023 15th International Conference on Software, Knowledge, Information Management and Applications (SKIMA), IEEE, Dec. 2023, pp. 57–62. doi: 10.1109/SKIMA59232.2023.10387366.
[12] J. Azimjonov and A. Özmen, “A real-time vehicle detection and a novel vehicle tracking systems for estimating and monitoring traffic flow on highways,” Advanced Engineering Informatics, vol. 50, p. 101393, Oct. 2021, doi: 10.1016/j.aei.2021.101393.
[13] D. Iskandar Mulyana and M. A. Rofik, “Implementasi Deteksi Real Time Klasifikasi Jenis Kendaraan Di Indonesia Menggunakan Metode YOLOV5,” Jurnal Pendidikan Tambusai, vol. 6, no. 3, pp. 13971–13982, Jul. 2022, doi: 10.31004/jptam.v6i3.4825.
[14] N. Dilshad, A. Ullah, J. Kim, and J. Seo, “LocateUAV: Unmanned Aerial Vehicle Location Estimation via Contextual Analysis in an IoT Environment,” IEEE Internet Things J, vol. 10, no. 5, pp. 4021–4033, Mar. 2023, doi: 10.1109/JIOT.2022.3162300.
[15] D. R. Vedhaviyassh, R. Sudhan, G. Saranya, M. Safa, and D. Arun, “Comparative Analysis of EasyOCR and TesseractOCR for Automatic License Plate Recognition using Deep Learning Algorithm,” in 2022 6th International Conference on Electronics, Communication and Aerospace Technology, IEEE, Dec. 2022, pp. 966–971. doi: 10.1109/ICECA55336.2022.10009215.
[16] P. Wang, E. Fan, and P. Wang, “Comparative analysis of image classification algorithms based on traditional machine learning and deep learning,” Pattern Recognit Lett, vol. 141, pp. 61–67, Jan. 2021, doi: 10.1016/j.patrec.2020.07.042.
[17] R. Sujatha, J. M. Chatterjee, N. Jhanjhi, and S. N. Brohi, “Performance of deep learning vs machine learning in plant leaf disease detection,” Microprocess Microsyst, vol. 80, p. 103615, Feb. 2021, doi: 10.1016/j.micpro.2020.103615.
[18] I. Sommerville, Sommerville Software Engineering, vol. 291. 2011.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Journal of Information Technology and Computer Science

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Creative Common Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).








