INTEGRASI OCR TESSERACT DAN GEMINI UNTUK BUKU TAMU DIGITAL BERBASIS WEB
Abstract
Abstract—Digital guest book systems require efficient data extraction from identity documents. Optical Character Recognition (OCR) combined with Artificial Intelligence enables automated text extraction and entity classification. This research develops and evaluates a web-based digital guest book system integrating Tesseract OCR with Google Gemini AI using Django framework. The system processes various identity card types (ID card, driver’s license, employee card) with 21 image samples. Multi-variant image preprocessing techniques (grayscale conversion, CLAHE, binarization, deskewing, sharpening) are applied in parallel to improve OCR accuracy. Tesseract OCR with Indonesian+English language configuration (psm=6, oem=1) extracts text, followed by Gemini AI analysis for entity classification (name vs. institution). A rule-based fallback mechanism ensures robustness when AI is unavailable. Experimental results demonstrate the fallback mechanism’s reliability, achieving 100% accuracy for name detection and 47.6% for institution detection using traditional rule-based methods when AI quota limits are reached. Multi-variant preprocessing achieved average OCR confidence of 70.48%, with best-performing variants (enhanced CLAHE, binarization, original) yielding con- fidence ranges from 51.12% to 94.11%. The system successfully processes 21 different identity card types with 100% OCR success rate. The developed system demonstrates effectiveness for automated guest data acquisi- tion and can be adopted by institutions requiring fast and accurate digital registration processes.
Downloads
Copyright (c) 2025 Alfa Riegel Imanuel Ponggohong, Gladly Caren Rorimpandey, Vandi Vanda Maswonggo

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Copyright Notice
The author who published the article on Journal of Informatics and Engineering (Jointer) (e-issn : 2723-7958) 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-ShareAlike 4.0 International License that allows others to share the work with an acknowledgment 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 acknowledgment of its initial publication in this journal.
- Authors should sign a Copyright Transfer Agreement when they have approved the final proofs sent by JOINTERprior to the publication.





