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

Institutions

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

A Transformer-Based OCR Model for Balinese Script Recognition in Cultural Heritage Texts

Putu Desiana Wulaning Ayu, I Made Subrata Sandhiyasa, Ibnu Gunawan
HighTech and Innovation Journal
Handwritten Text Recognition Techniques
article

A Transformer-Based OCR Model for Balinese Script Recognition in Cultural Heritage Texts

Putu Desiana Wulaning Ayu, I Made Subrata Sandhiyasa, Ibnu Gunawan
article en

Abstract

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.

HighTech and Innovation JournalVol. 7(4)
Jakarta State Polytechnic (ID), Institut Bisnis dan Teknologi Indonesia (ID)
Handwritten Text Recognition Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon