A Transformer-Based OCR Model for Balinese Script Recognition in Cultural Heritage Texts
This study evaluates TrOCR adaptation for Balinese script recognition using three datasets with distinct characteristics. The study used 189,192 image–text pairs from Synthetic, Kamus Bali, and Kekawin, organized into four training scenarios (S1–S4). The evaluation included cross-domain validation, hyperparameter sensitivity analysis, and repeated-seed evaluation using Character Error Rate (CER), Word Error Rate (WER), and sequence accuracy. CRNN served as the comparison model and was evaluated using the same data splits, while error analysis was performed on 500 randomly selected TrOCR prediction samples from the combined test set. S4 used the combined dataset and achieved the lowest Macro-CER of 2.84% among the four training scenarios, leading to its selection for hyperparameter sensitivity analysis. Across five random seeds, TrOCR achieved a mean ± SD CER of 1.52 ± 0.01%, WER of 8.12 ± 0.10%, and sequence accuracy of 88.88 ± 0.10%. For CRNN, the corresponding values were 3.88 ± 0.34%, 19.75 ± 1.14%, and 77.43 ± 1.17%, respectively. Among the 61 identified error events, deletion was the most frequent category, representing 37.70% of the total. This study provides a unified evaluation of TrOCR adaptation for Balinese script OCR through cross-domain validation, hyperparameter sensitivity analysis, repeated-seed evaluation, direct performance comparison with CRNN under the same data splits, and error analysis.
Authors
- Putu Desiana Wulaning Ayu (ORCID: https://orcid.org/0000-0002-1371-2379)
- I Made Subrata Sandhiyasa (ORCID: https://orcid.org/0000-0003-3372-4171)
- Ibnu Gunawan (ORCID: https://orcid.org/0009-0008-7814-2419)
Institutions
- Jakarta State Polytechnic (ID)
- Institut Bisnis dan Teknologi Indonesia (ID)
Publication Details
- Journal
- HighTech and Innovation Journal
- Published
- 2026-12-01
- DOI
- https://doi.org/10.28991/hij-2026-07-04-020
- Primary Topic
- Handwritten Text Recognition Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00