Analisis Algoritma Canny Edge Detection dengan Tesseract OCR untuk Mendeteksi Pelat Nomor Kendaraan Bermotor

Ananda Sarbaini Firin, Sriani Sriani

Abstract


Identity and vehicle ownership checks are an important routine carried out by security personnel at the State Islamic University of North Sumatra (UINSU) to ensure the legality of vehicles entering and exiting. However, the still manual inspection process of matching vehicle registration certificates (STNK) and license plates is often time-consuming and causes vehicle queues, especially during peak hours. This research applies a combination of the Canny Edge Detection algorithm to detect license plate edges and Tesseract OCR (Optical Character Recognition) to extract text from images. The purpose of this research is to explore the effectiveness of this method in detecting and recognizing two-wheeled vehicle license plates within the UINSU environment, and to provide an alternative solution to the problems of the manual inspection system. The dataset used consists of 125 images of two-wheeled vehicles taken using a mobile phone camera. The research results show that before post-processing was applied, OCR produced an average character accuracy of 81.60% with a CER of 18.40%, while after post-processing, the accuracy increased to 82.49% and the CER decreased to 17.51%. These results confirm that rule-based correction is able to improve character reading errors, although the improvement is moderate and has not completely addressed cases of detection failure in some images. This finding serves as the basis for addressing queuing issues and human resource limitations, while also providing a foundation for the broader development of digital image-based vehicle identification systems across various sectors.

Keywords


Canny Edge Detection; Tesseract OCR; Vehicle License Plates; Optical Character Recognition; Digital Image Processing

Full Text:

PDF

References


O. B. Kharisma and I. Junaedi, “Sistem identifikasi plat nomor kendaraan dalam penerapan regulasi pajak berbasis citra digital,” Jurnal Sains dan Teknologi, vol. 10, no. 1, pp. 117–127, 2021, doi: 10.23887/jstundiksha.v10i1.32975.

M. A. Khulan and R. Pebrianti, “Rancang bangun sistem keamanan parkir kendaraan roda dua dengan teknologi plate recognition,” pp. 1–88, 2023.

S. N. Aini and R. Kurniawan, “Application of Canny method to detect vehicle license plate in Tanjung Balai City Government Mess Area,” Indonesian Journal of Artificial Intelligence and Data Mining, vol. 7, no. 2, pp. 530–540, 2024, doi: 10.24014/ijaidm.v7i2.32426.

S. Setiawan, D. N. Sulistyowati, and N. Machmud, “Implementation of image processing in the recognition of official vehicle license plates,” JITK (Jurnal Ilmu Pengetahuan dan Teknologi Komputer), vol. 9, no. 1, pp. 23–29, 2023, doi: 10.33480/jitk.v9i1.4181.

D. N. Alfarizi, R. A. Pangestu, D. Aditya, M. A. Setiawan, and P. Rosyani, “Penggunaan metode YOLO pada deteksi objek: Sebuah tinjauan literatur sistematis,” Jurnal Artificial Inteligent dan Sistem Penunjang Keputusan, vol. 1, no. 1, pp. 54–63, 2023. [Online]. Available: https://jurnalmahasiswa.com/index.php/aidanspk

M. Hanum, “Implementasi teknik embossing pada pengenalan plat kendaraan untuk identifikasi otomatis berbasis OpenCV,” JoMMiT: Jurnal Multi Media dan IT, vol. 8, no. 1, pp. 62–68, 2024, doi: 10.46961/jommit.v8i1.1361.

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, pp. 109–117, 2023, doi: 10.23960/jitet.v11i1.2897.

R. M. Ridwan, S. Sumaryo, and A. Zamhuri, “Implementasi teknologi OCR untuk mendeteksi nomor plat mobil,” e-Proceeding of Engineering, vol. 11, no. 5, pp. 5429–5432, 2024.

T. I. Cahyani, M. Zakiyamani, D. Riana, and S. Hardianti, “Perbandingan akurasi pengenalan karakter plat nomor menggunakan Tesseract dan data latih EMNIST,” Journal of Information Technology and Computer Science (INTECOMS), vol. 5, no. 2, pp. 18–25, 2022.

A. F. I. Setyadi and Y. A. Susetyo, “Implementasi algoritma LSTM pada aplikasi optical character recognition berbasis website menggunakan Tesseract OCR,” Jurnal Teknologi Sistem Informasi dan Aplikasi, vol. 6, no. 2, pp. 63–71, 2023, doi: 10.32493/jtsi.v6i2.29235.

B. Setyawan and G. M. Sabrie, “Kajian potensi kendaraan bermotor menjadi barang kena cukai,” Jurnal Perspektif Bea dan Cukai, vol. 6, no. 2, pp. 365–385, 2022.

R. Devita and S. Sumijan, “Canny edge detection and image segmentation for precision face recognition system,” JURTEKSI (Jurnal Teknologi dan Sistem Informasi), vol. 10, no. 2, pp. 347–354, 2024, doi: 10.33330/jurteksi.v10i2.3059.

D. Wicaksono, D. P. Almeyda, I. M. M. Putra, and L. Malihatuningrum, “Analisis perbandingan metode pra pemrosesan citra untuk deteksi tepi Canny pada citra berbagai kondisi jalan menggunakan bahasa pemrograman Python,” Jurnal Teknologi dan Ilmu Komputer Prima (JUTIKOMP), vol. 7, no. 1, pp. 17–31, 2024.

A. E. Raharja, D. A. Navastara, and S. C. Hidayati, “Koreksi kemiringan citra menggunakan planar homography untuk pengenalan pelat nomor kendaraan,” Jurnal Teknik ITS, vol. 10, no. 2, pp. 360–365, 2021.

B. N. Situmorang, K. A. A’la, A. Arvianti, F. I. Yusuf, and E. W. Handamari, “Implementasi metode Bayesian untuk menghitung premi produk asuransi kendaran bermotor dengan pendekatan Monte Carlo Markov Chain,” Euler: Jurnal Ilmiah Matematika, Sains dan Teknologi, vol. 13, no. 2, pp. 264–270, 2025.

R. D. Putra and U. Suwardoyo, “Identifikasi plat kendaraan berbasis aplikasi Python,” Jurnal Sintaks Logika, vol. 4, no. 2, pp. 2412–2775, 2024. [Online]. Available: https://jurnal.umpar.ac.id/index.php/sylog

R. Muhammad and S. Yulianto, “Penerapan pemrograman Python dalam menentukan waktu overhoul kondensor turbin uap,” Jurnal Konversi Energi dan Manufaktur, vol. 8, no. 1, pp. 49–57, 2023.

A. Z. S. Azizah, F. N. T. Yalis, I. S. Narayana, K. A. Syalom, and P. Rosyani, “Pengolahan citra digital dengan penerapan teknik ambang batas: Studi kasus menggunakan OpenCV,” Jurnal Artificial Inteligent dan Sistem Penunjang Keputusan, vol. 1, no. 4, pp. 283–287, 2024. [Online]. Available: https://jurnalmahasiswa.com/index.php/aidanspk

J. Ulfah and Nurdin, “Implementasi metode deteksi tepi Canny untuk menghitung jumlah uang koin dalam gambar menggunakan OpenCV,” Jurnal Informatika dan Teknik Elektro Terapan, vol. 11, no. 3, pp. 420–426, 2023, doi: 10.23960/jitet.v11i3.3147.

B. Hatipoğlu, İ. Karagöz, and M. İnal, “Threshold based image enhancement method for low contrast X-ray images using CLAHE,” Uluslararası Muhendislik Arastirma ve Gelistirme Dergisi, Dec. 2022, doi: 10.29137/umagd.1203617.

Saluky and Y. Marine, “Penerapan algoritma Canny untuk deteksi tepi menggunakan Python dan OpenCV,” Smart Techno (Smart Technology, Informatic, and Technopreneurship), vol. 5, no. 1, pp. 1–7, 2023.

A. Pranadia, E. Rachmawati, and Risnandar, “Deteksi jenis kendaraan berdasarkan nomor plat menggunakan metode vertical edge detection dan connected component labelling,” Jurnal Tugas Akhir Fakultas Informatika, vol. 8, no. 2, pp. 3014–3027, 2021.

T. Octaviani, H. Setiawan, and O. H. Kelana, “Pytesseract dan template matching untuk otomatisasi input data KTP,” Jurnal Buana Informatika, vol. 14, no. 2, pp. 147–156, 2023.

R. Winanjaya, A. D. GS, and F. Anggraini, “Penerapan kombinasi algoritma Sobel dan Canny (SoCan) dalam identifikasi citra inversi albatros Laysan,” Building of Informatics, Technology and Science (BITS), vol. 4, no. 1, 2022, doi: 10.47065/bits.v4i1.1660.

M. Hajiali, “OCR post-processing using large language models,” UNLV Theses, Dissertations, Professional Papers, and Capstones, p. 4811, 2023, doi: 10.34917/36910880.

L. Maximillian, Y. F. Riti, M. Anugraha, and Y. J. Palis, “Perbandingan algoritma Sobel dan Canny untuk deteksi tepi citra daun lidah buaya,” Komputa: Jurnal Ilmiah Komputer dan Informatika, vol. 12, no. 2, pp. 69–79, 2023.

R. A. Saputra, M. A. Rayadin, and W. O. I. Febryanti, “Perbadingan efisiensi deteksi tepi Roberts, Prewitt, dan Canny untuk identifikasi kartu mahasiswa,” Jurnal Informatika, vol. 10, no. 2, pp. 136–142, 2023, doi: 10.31294/inf.v10i2.16726.




DOI: https://doi.org/10.37905/euler.v13i3.34868

Refbacks

  • There are currently no refbacks.


Copyright (c) 2025 Ananda Sarbaini Firin, Sriani Sriani

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.


Euler : Jurnal Ilmiah Matematika, Sains dan Teknologi has been indexed by:


 EDITORIAL OFFICE OF EULER : JURNAL ILMIAH MATEMATIKA, SAINS, DAN TEKNOLOGI

 Department of Mathematics, Faculty of Mathematics and Natural Science, Universitas Negeri Gorontalo
Jl. Prof. Dr. Ing. B. J. Habibie, Tilongkabila, Kabupaten Bone Bolango 96554, Gorontalo, Indonesia
 Email: [email protected]
 +6287777-586462 (WhatsApp Only)
 Euler : Jurnal Ilmiah Matematika, Sains dan Teknologi (p-ISSN: 2087-9393 | e-ISSN:2776-3706) by Department of Mathematics Universitas Negeri Gorontalo is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.  Powered by Public Knowledge Project OJS.