Implementasi Optical Character Recognition dan Algoritma Pencocokan pada Validasi Dokumen Penyumpahan Advokat Implementation of Optical Character Recognition and a Matching Algorithm in the Validation of Advocate Swearing-In Documents
Main Article Content
Abstract
The documents required for the swearing-in of advocates at Pengadilan Tinggi Padang are still checked manually, making the process time-consuming and prone to recording errors. This study aimed to develop and evaluate a document validation module that integrates Tesseract-based optical character recognition (OCR) with matching algorithms appropriate to each type of data element. The system was developed using the waterfall model as a Laravel-based web application connected to a Python-based OCR microservice and equipped with seven image preprocessing variants. Matching was performed using the Levenshtein distance algorithm for free-text elements and exact matching for elements with standardized formats. Testing involved 74 samples from 10 document types, covering 101 data elements. The test results showed that the overall extraction accuracy reached 89.1%, with the lowest accuracy recorded for Kartu Tanda Penduduk (KTP) documents, at 66.7%. At the matching stage, both algorithms achieved precision, recall, and accuracy values of 100% each. The discrepancies identified in seven data elements resulted from extraction errors rather than the matching logic. These findings indicate that OCR extraction quality is an important aspect of supporting accurate document validation. The developed module serves as a tool to assist in screening the documents required for the swearing-in of advocates, while administrative decisions remain within the authority of legal registry staff.
Citation Metrics:
Downloads
Citation Metrics & Similar Scopus Articles
-
Zhang J. (2027)Spectrally Partitioned All-Optical Memristors for Highly Linear Neuromorphic Vision SystemsNano Micro Letters, 19(1)
-
Toleubek K.E. (2028)Mineralogical characteristics of oxidized copper-porphyry ores at the Koktaszhal depositKompleksnoe Ispolzovanie Mineralnogo Syra, 346(3), 28-39
-
Feng X. (2027)Designing Efficient Inverted Perovskite Solar Cells with Self-Assembled Monolayer Hole Transport LayersNano Micro Letters, 19(1)
Article Details

Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
References
Darmanto, Kharisma, Muhammad, A.-R., Pradasari, N. I., & Wahyudi, E. (2025). Perbandingan Kinerja Algoritma Jaro-Winkler dan Levenshtein Distance untuk Deteksi Kesalahan Penulisan Bahasa Indonesia pada Karya Ilmiah Mahasiswa. Jurnal Rekayasa Teknologi Informasi (JURTI), 9(2), 112–121. https://doi.org/10.30872/jurti.v9i2.19134
Darpito, M. N., Firdausy, K., & Fadlil, A. (2026). Performance evaluation of Otsu and Sauvola thresholding for structured document binarization. Scientific Journal of Informatics, 13(1), 189–200. https://doi.org/10.15294/sji.v13i1.40245
Guna, I. K. K. A. D., Suarjaya, I. M. A. D., & Rusjayanthi, N. K. D. (2025). Esscore: An OCR-based Android app for scoring short handwritten answer using Levenshtein distance. Journal of Applied Informatics and Computing, 9(4), 1383–1393. https://doi.org/10.30871/jaic.v9i4.9708
Gunawan, & Sudarsono, A. (2022). Penerapan Exact String Matching Pencarian Data pada Sistem Informasi Akademik Berbasis Web. J-SISKO TECH (Jurnal Teknologi Sistem Informasi dan Sistem Komputer TGD), 5(2), 214–218. https://doi.org/10.53513/jsk.v5i2.5793
Heriyanto, T., Sholva, Y., & Nyoto, R. D. (2023). Implementasi Optical Character Recognition (OCR) untuk Verifikasi Berkas pada Digital Library Program Studi Informatika Universitas Tanjungpura. JURISTI (Jurnal Riset Sains dan Teknologi Informatika), 1(1), 26–29. https://jurnal.untan.ac.id/index.php/juristi/article/view/60916
Hidayat, E. W., El Akbar, R. R., & Anshary, M. A. K. (2026). Improved contrast and clarity in plant microscopic images using contrast limited adaptive histogram equalization. Jurnal Teknik Informatika (Jutif), 7(1), 540–552. https://doi.org/10.52436/1.jutif.2026.7.1.5333
Johnson, R. (2025). Optical character recognition technologies and algorithms: Definitive reference for developers and engineers. HiTeX Press.
Lestari, I. N. T., & Mulyana, D. I. (2022). Implementation of OCR (optical character recognition) using Tesseract in detecting character in quotes text images. Journal of Applied Engineering and Technological Science, 4(1), 58–63. https://doi.org/10.37385/jaets.v4i1.905
Muhsin, A., & Nugraha, D. W. (2025). Implementasi Algoritma Levenshtein Distance dan SHA-256 pada Sistem Pengelolaan Arsip dengan Evaluasi TAM. Jurnal Algoritma, 22(2), 2305–2316. https://doi.org/10.33364/algoritma/v.22-2.3085
Nasution, A. R. (2025a, June 28). Peradi Gelar Ujian Profesi Advokat 2025 Serentak di 39 Kota, Termasuk Medan. DPC PERADI Medan. https://peradimedan.or.id/peradi-gelar-ujian-profesi-advokat-2025-serentak-di-39-kota-termasuk-medan/
Nasution, A. R. (2025b, December 6). Peradi Gelar UPA Serentak di 46 Kota, 3.891 Peserta Ikut Ujian. ANTARA Sumut. https://sumut.antaranews.com/berita/648172/peradi-gelar-upa-serentak-di-46-kota-3891-peserta-ikut-ujian
Peraturan Presiden Republik Indonesia Nomor 95 Tahun 2018 tentang Sistem Pemerintahan Berbasis Elektronik, Lembaran Negara Republik Indonesia Tahun 2018 Nomor 182 (2018). https://peraturan.bpk.go.id/Details/96913/perpres-no-95-tahun-2018
Pressman, R. S. (2010). Software engineering: A practitioner’s approach (7th ed.). McGraw-Hill Education.
Ramadhan, G., Mulyana, D. I., & Adrianto, S. (2025). Optimization of Tesseract OCR for automatic text extraction on Indonesian ID cards (KTP) through image quality enhancement using preprocessing techniques. International Journal Software Engineering and Computer Science (IJSECS), 5(3), 938–948. https://doi.org/10.35870/ijsecs.v5i3.5183
Reksiyano, R. D., Pane, S. F., & Awangga, R. M. (2025). Enhancing OCR accuracy on Indonesian ID cards using dual-pipeline Tesseract and post-processing. JEECS (Journal of Electrical Engineering and Computer Sciences), 10(2), 119–127. https://doi.org/10.54732/jeecs.v10i2.3
Rospricilia, T. A., & Ma’ady, M. N. P. (2024). Pemodelan Integration Use Case (IUC): Perancangan Use Case Diagram (UML) untuk Sistem-Sistem yang Terintegrasi. INTEGER: Journal of Information Technology, 9(2), 165–172. https://doi.org/10.31284/j.integer.2024.v9i2.6345
Rusli, F. M., Adhiguna, K. A., & Irawan, H. (2021). Indonesian ID card extractor using optical character recognition and natural language post-processing. In 2021 9th International Conference on Information and Communication Technology (ICoICT) (pp. 621–626). IEEE. https://doi.org/10.1109/ICoICT52021.2021.9527510
Santoso, D. B., & Fachrie, M. (2025). Intelligent Document Processing Berbasis OCR + Transformers dan CNN untuk Verifikasi Dokumen Bantuan Pangan. Jutisi: Jurnal Ilmiah Teknik Informatika dan Sistem Informasi, 14(3), 1652–1663. https://doi.org/10.35889/jutisi.v14i3.3351
Tutuko, N. W., & David, F. (2025). Pengembangan RESTful API untuk Produk E-Commerce Ritel dengan Pendekatan Microservices dan Spring Boot. JATI (Jurnal Mahasiswa Teknik Informatika), 9(5), 8862–8867. https://doi.org/10.36040/jati.v9i5.15243
Undang-Undang Republik Indonesia Nomor 18 Tahun 2003 tentang Advokat, Lembaran Negara Republik Indonesia Tahun 2003 Nomor 49, Tambahan Lembaran Negara Republik Indonesia Nomor 4288 (2003). https://peraturan.bpk.go.id/Details/43018/uu-no-18-tahun-2003
ResearchGate



