---
title: "Zero-shot OCR Accuracy of Low-Resourced Languages: A"
description: "A zero-shot OCR benchmark compares how accurately six engines read printed Sinhala and Tamil and introduces a synthetic Tamil test dataset."
canonical: "https://research.elamur.ai/free/en/papers/jayatilleke-2025-zero-shot-ocr-accuracy-low/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/jayatilleke-2025-zero-shot-ocr-accuracy-low/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2025](https://md.research.elamur.ai/free/en/papers/2025/) / Zero-shot OCR Accuracy of Low-Resourced Languages: A Comparative Analysis on Sinhala and Tamil

# Zero-shot OCR Accuracy of Low-Resourced Languages: A Comparative Analysis on Sinhala and Tamil

Paper · 2025 · Nevidu Jayatilleke and Nisansa de Silva

**Authors:** [Nevidu Jayatilleke](https://md.research.elamur.ai/free/en/authors/nevidu-jayatilleke/) and [Nisansa de Silva](https://md.research.elamur.ai/free/en/authors/nisansa-de-silva/) · **Year:** 2025 · **Venue:** Proceedings of the 15th International Conference on Recent Advances in Natural Language Processing - Natural Language Processing in the Generative AI Era · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

Proceedings of the 15th International Conference on Recent Advances in Natural Language Processing - Natural Language Processing in the Generative AI Era · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2025.ranlp-1.56/)
- [PDF](https://aclanthology.org/2025.ranlp-1.56.pdf)

## Summary

A page can look perfectly legible and still turn into unreliable text when software reads it. That matters when the resulting text goes into a search index or becomes the working copy of a document. Jayatilleke and de Silva examine this problem for printed Sinhala and Tamil, two [low-resource languages](https://md.research.elamur.ai/free/en/topics/low-resource-languages/) with distinct rounded scripts. They compare six optical character recognition (OCR) engines in a zero-shot setting. The engines read the test images as available, without additional [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/) by the authors. Four engines were evaluated in both languages. Subasa OCR was tested only on Sinhala, and EasyOCR only on Tamil.

The authors used an existing synthetic Sinhala dataset and built a public Tamil counterpart. In each dataset, a computer-rendered image is paired with the text used as its reference. The Sinhala collection has 6,969 pairs. For Tamil, the authors sampled 7,000 lines from filtered subtitle text and rendered them across six font families. They used five measures to compare engine output with the reference. Some count the edits needed to recover the reference at the character or word level. Others assess how closely the resulting strings or word sequences agree. Together, the measures make it possible to ask whether software identifies the visible characters and whether it returns usable sequences of words.

Surya led on every measure for Sinhala, with a word error rate of 2.61%. Document AI led on every measure for Tamil, with a character error rate of 0.78% and a word error rate of 11.98%. The Cloud Vision API came close to Document AI on Tamil. Among the open-source engines tested on Tamil, EasyOCR had the lowest word error rate and the strongest word-overlap scores, while Tesseract had the lowest character error rate. On Sinhala, Tesseract 5.5.0 outscored Subasa OCR, a Sinhala-specific adaptation of Tesseract 4.0, on all five measures.

The Tamil results show how much the choice of scoring unit matters. Document AI could return a string close to the reference in character edits while still losing agreement at the word level. The authors point to spacing and word formation as possible contributors. Their error counts also identify particular marks and letters that remain troublesome in each language. These findings apply to clean, rendered print. Scans and camera images can introduce blur, rotation, uneven backgrounds and other conditions outside the benchmark.

## Deep dive: Zero-shot OCR Accuracy of Low-Resourced Languages: A Comparative Analysis on Sinhala and Tamil

A zero-shot OCR benchmark compares how accurately six engines read printed Sinhala and Tamil and introduces a synthetic Tamil test dataset. · about 31 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### What it takes to read a page

Optical character recognition begins with a visual record of writing and ends with a text string. A scanned invoice, for example, supplies pixels. A program that indexes invoices needs letters and words it can store, compare and retrieve. The OCR engine is responsible for recovering that string and, where necessary, deciding how the writing on the page fits together. The paper describes practical uses in documents such as receipts, forms and passports. It also traces OCR's history to assistive systems in which recovered words could be passed to speech software and read aloud. The downstream use changes which errors matter most, but each use depends on a transcription faithful enough for the next task.

The authors describe a conventional OCR process that starts with acquiring an image. Preprocessing may improve the image or distinguish foreground ink from the background by reducing the image to contrasting values. A layout stage locates regions on the page. Segmentation separates the material into units such as lines, words or characters. Recognition uses visual features to identify the writing, and post-processing can use linguistic information to refine the output. This sequence helps explain why a transcription error has several possible origins. The engine may miss a region, divide it incorrectly or confuse shapes within a correctly located line. Different internal sequences can arrive at the same visible mistake in the final string.

That distinction matters for a benchmarking study. An engine can read the characters in a region accurately and still join words that should have been separate. A system that splits a line incorrectly can omit part of it even if it recognises each of the retained shapes. A benchmark that scores the returned text combines the effects of all the internal decisions required to produce it. That is a practical way to compare complete engines. It leaves questions about where a mistake arose to be investigated separately.

The paper describes printed OCR in Latin-derived scripts as a comparatively mature area, drawing on research for languages including [English](https://md.research.elamur.ai/free/en/topics/english/) and French. It places Sinhala and Tamil in a different situation. The authors cite remaining difficulties with recognition in rounded South Asian scripts and with the availability of suitable test data. They also distinguish script difficulties from image quality. A recogniser may face unfamiliar combinations of shapes on a clean page, while a damaged scan can make even familiar shapes hard to recover. The study concentrates on clean print so that recognition can be compared before introducing the additional variation of photographs, archival material and complex documents.

#### Why examine Sinhala and Tamil together?

Sinhala and Tamil come from different language families. The authors identify Sinhala as Indo-European and Tamil as Dravidian. Their scripts both descend from Brahmi and have rounded forms, as the paper illustrates with examples of each. They remain distinct writing systems. A shared visual characteristic provides a reason to study them together, while the differences between the scripts give a recogniser different sets of shapes and combinations to handle.

The paper draws on a resource classification that puts Sinhala in Category 02 and Tamil in Category 03, with Sinhala treated as the lower-resourced language. Here, resources concern what is available for language technology. The paper's immediate problem is the availability of public image-and-transcription pairs comparable enough for an OCR experiment. A text collection supplies strings that can be read or rendered. An OCR test also needs images and a reliable transcription for each image. The authors found a synthetic collection that met their needs for Sinhala, then assembled a Tamil collection for the companion test.

Studying both languages also makes the coverage of a multilingual engine an empirical question. An engine can list a script as supported without telling a user how much correction a transcript will need. Commercial availability, openly accessible software and specialisation for a single language describe different properties of an OCR product. To compare the resulting transcriptions, the authors needed actual examples, shared scoring within each language and a record of which engines could process each script.

#### Earlier approaches to Sinhala recognition

One line of previous work started with Tesseract and added language-specific corrections. The Sinhala system described by Anuradha and colleagues used Tesseract 4.0 inside an application with a graphical interface, a post-processor and data storage. Tesseract's recogniser used a long short-term memory network, or LSTM, which can use information from across a sequence during recognition. The separate post-processor applied linguistic rules to correct cases that passed through the recogniser. The work tested printed material with variation in fonts and sizes. Its design treated improvement as a combination of visual recognition and correction informed by the language.

The paper also discusses research by Maduranga and Jayalal on printed Sinhala characters in several styles. That work enhanced images, divided character images into regions and represented their visual features in a form suitable for a neural classifier. The training used a character database drawn mainly from Iskoola Pota. A classifier that receives a prepared character image has a particular job. It must identify the shape inside the crop. Reading an entire line additionally requires establishing what belongs together and how to arrange the result. The earlier work helps locate a problem at the level of the character, whereas the present study measures the text returned by a complete OCR engine.

A previous comparative study by Velayuthan and Ambegoda brought ready-to-use engines into the same experiment. It set out to study document digitisation for Sinhala and Tamil. The results the present authors describe cover synthetic Sinhala material and English forms from FUNSD. That comparison considered character and word errors and included computational considerations such as power use. Its image collections differed across languages, with rendered Sinhala text and noisy English documents. The paper treats the difference in source material as important when interpreting a cross-language comparison.

These strands of work ask related questions at different levels. A post-processor tests the value of rules applied after recognition. A character classifier tests a particular representation of visual shapes. An engine benchmark tests what a user gets back after running a finished system on an image. Jayatilleke and de Silva take the last approach. It lets them include systems whose internal processing and training are outside their control.

#### Earlier approaches to Tamil recognition

Liyanage and colleagues previously built a Tamil recogniser with Tesseract. They defined a 169-character OCR alphabet and prepared examples from selected Tamil words in Unicode fonts. They tried combinations of fonts and sizes during training, then evaluated the resulting system on 20 scans from old Tamil books. Their comparison used Tesseract's existing Tamil module as its point of reference. Font and size were therefore part of the training question, while the scanned books provided the material used to judge the finished recogniser. That setup addressed recognition on a particular collection of scans using a system deliberately adapted for Tamil.

The Nayana framework took a different route. As described in the paper, its authors used synthetic data to adapt GOT, a system that reads text from images. They translated source documents into Tamil while retaining their layouts, then trained the recogniser to align image and text information in phases. The adaptation used [low-rank adaptation](https://md.research.elamur.ai/free/en/papers/hu-2021-lora-low-rank-adaptation-large/), or LoRA, which limits the form of the updates made during training. For Nayana, synthetic documents supplied examples from which the recogniser learned. In Jayatilleke and de Silva's study, synthetic images supply examples on which existing recognisers are judged. That difference in the role of the data is central to the experimental design.

The earlier Tamil studies establish precedents for training with several fonts and assembling synthetic documents. They also show how the type of image depends on the question. A scanned book can expose degradation from the original page and the scan. A layout-preserving synthetic document permits investigation of the placement of text on a page. A rendered line gives the evaluator direct control over the string and font. The authors needed this last kind of material to build a Tamil benchmark comparable in broad design to their Sinhala collection.

### The method, step by step

#### Establish what the engines have to return

The unit of the evaluation is an image paired with a reference string. The image is what an engine receives. The reference is the text that should be recovered, subject to the authors' language-focused preprocessing. When the engine returns its transcription, the benchmark compares that string with the reference. Knowing the source string is a practical advantage of synthetic rendering. The evaluator starts with the original text and makes the image from it, avoiding the need to reconstruct a transcription from the image before any testing can begin.

The paper uses *zero-shot* for the evaluation of already available engines without further adaptation to the benchmark by the authors. Existing engine training is part of what the study evaluates. Subasa OCR, for instance, was already adapted for Sinhala when selected. Tesseract already had language support, and the cloud engines had their own OCR capabilities. The authors assembled the test pairs, set up the interfaces to each engine and processed the relevant images. The output strings, along with the references, entered the scoring procedure.

From synthetic test images to OCR scores The steps in order.

The same comparison applies to every participating engine within a language. Interfaces vary, but the object being measured is the string returned from the image. The study reports separate results for Sinhala and Tamil, each with its own image collection. The two sets have comparable sample counts and use rendered print. Their source text, typefaces and construction procedures retain language-specific differences.

#### Take the Sinhala collection as the starting point

For Sinhala, the authors selected Ravihara's published `sinhala synthetic ocr-large` collection. It contains 6,969 images with accompanying texts. Its rendered examples use Noto Sans Sinhala, Gemunu Libre and Noto Serif Sinhala, as well as Yaldevi and Abhaya Libre. These are the typefaces that gave the authors a basis for asking whether an engine could read printed Sinhala across different appearances of the script.

Each pair has a visual side and a textual side. A font determines how the script appears in the image, whereas the reference specifies what the writing says. Having several fonts brings some visual variation into the recognition problem while preserving the pairing with the intended text. It also makes an overall score describe a collection with mixed typography. To determine how much performance changes from one typeface to another would require separate scores for those subsets.

For Sinhala, the authors describe a language-focused cleanup that excluded non-Sinhala characters from the text. Its purpose was to centre the evaluation on recognising the target script. The paper discusses this as part of preparing the data for comparison. For Tamil, the language-focused step took place earlier, during construction of the collection. This ordering matters because filtering the source text can change both what appears in the image and what is expected in the reference.

#### Construct a Tamil counterpart

The authors searched for a public Tamil collection made in a similar way. They built their own after failing to find a suitable counterpart. They started with Tamil text from OPUS, selecting the v2024 release of [OpenSubtitles](https://md.research.elamur.ai/free/en/papers/lison-2016-opensubtitles2016-extracting-large-parallel-corpora/). The subtitles supplied existing lines to render. The recognition task begins after rendering, when a line is presented as an image. The language of the source collection matters because it determines which words and character combinations appear in the test.

The authors divided the subtitle material into lines and focused on Tamil characters, producing 2,437,960 records at that stage. They then kept texts longer than 40 characters, leaving 222,658 records. A length filter of this kind determines which examples are eligible for scoring. The authors wanted an evaluation with enough material within each record for meaningful word-level comparison. The criterion is stated in characters, so it selects for line length without specifying a common number of words per line.

From the filtered material they randomly selected 7,000 records. They chose that scale to make the collection comparable in sample count with the 6,969 pairs used for Sinhala. They also cite the resource cost of running additional images through the engines. The sampling step determines which eligible lines become actual OCR trials. The project could draw on a much larger text pool, but the reported scores concern the images chosen for this benchmark.

The resulting text collection carries the properties of its construction. It begins with subtitle lines, focuses on the target script and excludes records below the length threshold. The choice gives a clearly defined pool from which to sample. It also means that a line of a different kind, such as a short label or material containing other scripts, may raise a recognition question outside the principal target of this test.

#### Choose fonts and turn the text into images

The authors considered 17 Tamil font families available through Google Fonts and selected six by inspecting their appearance. Some candidates, including Mukta Malar and Baloo Thambi 2, appeared very similar to them. Their aim was visual variety among the images that would enter the benchmark. They chose Hind Madurai, Noto Serif Tamil and Kavivanar, along with Noto Sans Tamil, Pavanam and Anek Tamil. The paper illustrates the effect of the selection by showing a Tamil sentence in several of the selected fonts. The reference wording can stay fixed while the visual form changes.

A function using Pillow assigned text records across the selected font files with the aim of proportionate representation. For a record and its assigned font, it measured the text's bounding box, the rectangle enclosing the rendered writing. The measurement was used to choose the dimensions of the image. After placing black text on a white background, the function used the width and height to center it. This process controls the placement of the line and gives each image enough room for its text without relying on an identical canvas for every string.

At this stage, there are two outputs to preserve together. The rendered image is the recognition input. The source text supplies the reference. The paper also describes post-processing to exclude cases without string values for the reference and generated text. That check matters when computing distances or overlaps, which take strings as inputs. An absent value is a different case from an available string whose content diverges from the reference. The released synthetic Tamil OCR dataset is the reusable data contribution of the study.

#### Set up the systems under comparison

Google Cloud provides access to two commercial services, the Cloud Vision API and Document AI. Cloud Vision is a broader image-analysis service with text detection among its functions. Document AI provides document processing, and the study uses its OCR processor to read the images. The authors enabled the Cloud Vision API through the platform and created a processor for Document AI. Both services were used for both languages. They enter the experiment as whole systems whose returned text can be scored on the same images.

Tesseract and Surya also processed both Sinhala and Tamil. The authors ran Tesseract 5.5.0 via the Python wrapper pytesseract, which let them submit records programmatically. Tesseract's recognition engine uses recurrent processing of text sequences through LSTM networks. The version matters because the benchmark also includes Subasa OCR, which was developed by adapting Tesseract 4.0 for Sinhala. The comparison is between the available implementations the authors ran, including the differences between those implementations.

The paper describes Surya as a toolkit for printed text with line detection, recognition and document layout capabilities. Its detection component uses a modified EfficientViT architecture to find regions of text. Its recognition component is based on a modified Donut design and incorporates [grouped query attention](https://md.research.elamur.ai/free/en/papers/ainslie-2023-gqa-training-generalized-multi-query/) and a mixture-of-experts layer. Grouped query attention shares parts of the attention computation across groups of queries. A mixture-of-experts layer uses specialised components within the same network. The recogniser uses UTF-16 decoding to produce text. These details describe Surya as received by the authors. No training procedure for Surya was run as part of the benchmark.

Subasa OCR processed Sinhala only. The authors accessed it via its web application, since they did not have direct access to the recogniser or its source code. They automated image submission and response collection with Selenium. The paper connects Subasa's development to earlier Sinhala work using the UCSC 10M Sinhala corpus and variation in fonts and image quality. This prior adaptation is one reason to include it as a language-specific comparison for Tesseract and the other engines.

EasyOCR processed Tamil only because it lacked Sinhala support. The paper describes separate detection and recognition components. CRAFT, short for Character Region Awareness for Text, locates text in the image. A [residual network](https://md.research.elamur.ai/free/en/papers/he-2015-deep-residual-learning-image-recognition/) extracts visual features, an LSTM handles sequence labelling and connectionist temporal classification decodes character sequences. The decoding accommodates the fact that the visual features arrive as a sequence whose positions may lack a direct correspondence to individual output characters. The authors used the package's available Python interface, as they did with Surya.

#### Count the edits needed at each level

Character error rate, or CER, measures how many editing operations separate the reference and the returned text. A substitution replaces one character with another. An insertion introduces a character missing from the reference, and a deletion removes a reference character. Levenshtein distance finds the minimum number of these operations needed to turn one string into the other. Dividing by the reference length expresses the size of the edit count relative to the amount of text the system was supposed to read.

```
CER = (S + I + D) / N
```

CER is the character error rate. S, I and D count substitutions, insertions and deletions in a minimum edit alignment from the reference to the recognised text. N counts the characters in the reference. The numerator counts edit operations, and the denominator fixes the scale to the length of the intended transcription.

Word error rate, or WER, applies the same idea to a sequence of whole words. The scoring units depend on how the text is divided into words. If the engine joins neighbouring words, the character string can remain very close to the reference while the units used for word comparison change. A short error inside a word may likewise make the whole word a substitution under word-level scoring.

```
WER = (S + I + D) / N
```

WER is the word error rate. In this expression S, I and D count substitutions, insertions and deletions of words. N is the number of words in the reference. The edit calculation minimises the required changes at that level. Both error rates are better when smaller, and neither should be read as an exact-match score for a complete image.

#### Check similarity and word overlap

The [BLEU score](https://md.research.elamur.ai/free/en/concepts/bleu/) comes from [machine translation](https://md.research.elamur.ai/free/en/topics/machine-translation/) evaluation. Here it compares OCR output with the reference transcription. An [n-gram](https://md.research.elamur.ai/free/en/concepts/n-gram/) is a sequence of neighbouring units, in this case considered as words in the OCR scoring discussion. Looking at sequences of varying lengths gives credit for reproducing groups of words in order. BLEU uses modified precision for these sequences, limiting the credit given for repeating material, and applies a penalty for an overly short output. The paper describes the computation in terms of a geometric mean and a brevity penalty.

```
BLEU = BP × GM(pₙ)
```

BLEU is the resulting score. BP is the brevity penalty. GM denotes the geometric combination of the modified precisions, with the weighting referred to in the paper's description. Each pₙ is the modified precision for sequences of length n. That precision describes how much of the candidate's material at that sequence length matches the reference under the metric's counting rule. The multiplication applies the length penalty to the combined overlap score. Higher BLEU means stronger agreement under this measure.

Average normalised Levenshtein similarity, or ANLS, also starts with the edit distance between strings. Its normalised distance, written NL, puts that distance on a common scale. The score gives partial credit when the strings are close enough. When the distance passes a threshold, the pair contributes zero. The paper presents the metric in notation suitable for a task where an item can have multiple acceptable answers. In this OCR study, the test pairs supply a reference transcription for each image.

```
s(aᵢⱼ, oᵢ) = { 1 − NL(aᵢⱼ, oᵢ)   if NL(aᵢⱼ, oᵢ) < τ
              { 0                    if NL(aᵢⱼ, oᵢ) ≥ τ
```

The pairwise similarity is s. The index i identifies the evaluated item, and j identifies an acceptable reference for that item. The string aᵢⱼ is that reference, and oᵢ is the corresponding OCR output. NL is the normalised Levenshtein distance between the two strings. The threshold τ is 0.5. In the displayed rule, a sufficiently small distance is subtracted from 1. A distance at or above the threshold receives the score 0. The paper's prose also describes giving partial credit at equality, so an exact threshold tie is specified differently in the prose and in the displayed rule.

```
ANLS = (1 / N) × Σᵢ maxⱼ s(aᵢⱼ, oᵢ)
```

ANLS is the average normalised Levenshtein similarity. N is the number of evaluated items. The sum Σᵢ runs over those items. For each one, maxⱼ selects the highest similarity s among the available references aᵢⱼ for output oᵢ. With one reference, the term is simply the similarity to that reference. The factor 1 divided by N turns the sum into an average. Higher ANLS means closer agreement under the thresholded edit rule.

The remaining measure is [METEOR](https://md.research.elamur.ai/free/en/papers/banerjee-2005-meteor-automatic-metric-mt-evaluation/), another metric developed for translation evaluation. It aligns individual words using surface matches, stems or synonyms as described by the authors. It combines precision, which concerns how much output material matches, with recall, which concerns how much reference material the output recovers. Recall receives greater emphasis. A fragmentation penalty reduces the score when aligned words are scattered across the candidate instead of occurring in coherent stretches. In this benchmark, METEOR contributes a view of word agreement that can differ from counting exact word edits or matching longer sequences.

Together the measures describe distinct aspects of the same engine output. Character and word error rates express how much editing the string requires at their respective levels. ANLS gives partial credit to close strings and cuts off credit for sufficiently distant ones. BLEU asks about sequences of words, and METEOR combines word matching with a penalty related to ordering. The benchmark then uses those perspectives to examine both the strongest engines and cases where an engine's standing depends on the scoring unit.

### Experiments and results

#### The comparison within each language

The Sinhala benchmark uses the published collection of 6,969 pairs. The Tamil benchmark uses the newly assembled collection sampled at 7,000 records. Each comparison uses the available source text as its reference. Cloud Vision, Document AI, Surya and Tesseract contribute outputs for both languages. Subasa OCR joins the Sinhala comparison and EasyOCR joins the Tamil one. The unavailable entries reflect language coverage, so a gap in the comparison should be read as an untested combination.

The baselines are competing OCR engines run on the same language-specific material. The study includes cloud services alongside openly available engines and the externally hosted, Sinhala-specific Subasa recogniser. It presents scores for complete transcriptions at the collection level. CER and WER are error rates, where smaller is better. BLEU, ANLS and METEOR are similarity or overlap scores, where larger is better. The charts below retain the decimal error rates used in the paper's results table.

#### Surya leads the Sinhala comparison

Surya recorded a Sinhala CER of 0.0076 and a WER of 0.0261. The paper also states that WER as 2.61%. Its Sinhala BLEU was 0.9396, its ANLS was 0.9920 and its METEOR was 0.9723. Those figures place it first on all five measures. The agreement across measures matters because the lead applies both to the number of edits and to the matching of word sequences. A lead on character edits alone would leave open the possibility that another engine preserved words more successfully.

Word error rate by engine on the synthetic Sinhala dataset Surya has the lowest word error rate, followed by Document AI and Cloud Vision.

**The numbers**

| System or setting | WER |
| --- | --- |
| Surya (this paper) | 0.0261 |
| Document AI | 0.0758 |
| Cloud Vision API | 0.0767 |
| Tesseract | 0.1489 |
| Subasa OCR | 0.1799 |

Document AI and Cloud Vision had similar results on Sinhala. Document AI's CER was 0.0610 and its WER was 0.0758. Cloud Vision's CER was 0.0619 and its WER was 0.0767. Their BLEU scores were 0.9199 and 0.9193 respectively. Document AI also scored 0.9455 on ANLS and 0.9278 on METEOR, compared with Cloud Vision's 0.9447 and 0.9269. Their relative order is consistent across the measures. Both are ahead of the other Tesseract-based entries on this dataset.

Tesseract 5.5.0 and Subasa OCR are a useful pair to inspect within the same test because the older Tesseract engine underlies Subasa. Tesseract scored 0.0702 on Sinhala CER and 0.1489 on WER, while Subasa recorded 0.0761 and 0.1799. Tesseract also led this pair on BLEU, with 0.7553 against 0.6894. Its ANLS was 0.9319 against 0.9259 for Subasa, and its METEOR was 0.8436 against 0.8099. The ranking is consistent from individual character edits to word alignment and overlap.

One way to read the Sinhala results is to follow the change in ordering as the scoring criterion changes. For this collection, the order is stable across the reported measures. The size of the separation can look different depending on the measure. For instance, the cloud services have high word-overlap scores alongside higher word error rates than Surya. An overlap measure gives credit for matching parts of a sequence. Word error rate asks how many edits the word sequence still needs. They describe the same transcriptions from different perspectives.

#### Document AI leads Tamil, with Cloud Vision close behind

Document AI achieved a Tamil CER of 0.0078, also reported as 0.78%, and a WER of 0.1198, reported as 11.98%. Its BLEU was 0.5803, its ANLS was 0.9923 and its METEOR was 0.8762. It led the Tamil collection on each of the five measures. Cloud Vision came close throughout, with a CER of 0.0079, a WER of 0.1204, BLEU of 0.5790, ANLS of 0.9922 and METEOR of 0.8751. These figures establish the ranking observed by the benchmark. They give no direct view into what the two systems did differently while reading the images.

Character error rate by engine on the synthetic Tamil dataset Document AI and Cloud Vision lead, and Tesseract has the lowest character error rate among the open-source entries.

**The numbers**

| System or setting | CER |
| --- | --- |
| Document AI (this paper) | 0.0078 |
| Cloud Vision API | 0.0079 |
| Tesseract | 0.0780 |
| EasyOCR | 0.1172 |
| Surya | 0.1392 |

Tamil also gives a clear example of why the two error rates are reported separately. Tesseract's CER of 0.0780 put it first among the open-source entries for character edits, while its WER was 0.6145. EasyOCR had a higher CER of 0.1172 and a lower WER of 0.2876. The ordering therefore changes when the unit moves from characters to words. A user who expects to extract or search whole words would learn something important from that second comparison, even if character error rate already looked adequate for ranking engines on transcription fidelity.

Word error rate by engine on the synthetic Tamil dataset Document AI edges Cloud Vision, and EasyOCR leads the open-source entries at the word level.

**The numbers**

| System or setting | WER |
| --- | --- |
| Document AI (this paper) | 0.1198 |
| Cloud Vision API | 0.1204 |
| EasyOCR | 0.2876 |
| Tesseract | 0.6145 |
| Surya | 0.6500 |

The overlap scores add detail to the open-source comparison. EasyOCR's Tamil BLEU was 0.3461 and its METEOR was 0.6744. Those are the strongest scores in that group on those measures. Tesseract recorded 0.0493 for BLEU and 0.3201 for METEOR, while Surya recorded 0.1487 and 0.3359. ANLS gives a different ordering. Tesseract scored 0.9264, EasyOCR 0.8828 and Surya 0.8672. Thus the paper's favourable assessment of EasyOCR for Tamil is most directly supported by WER, BLEU and METEOR. Tesseract leads that group for the two measures that use character edit distance.

Surya's Tamil CER of 0.1392 and WER of 0.6500 place it last on both error-rate measures for that dataset. Its word-overlap scores are above Tesseract's and below EasyOCR's. The Sinhala comparison places Surya first on every measure. The reversal is a property of the engine's performance on these two collections, which combine different scripts, source texts and font selections. It shows why a benchmark needs language-specific results even when the engines under test serve several languages.

#### Read differences between character and word scores

On the winning systems, Surya's Sinhala CER of 0.0076 and Document AI's Tamil CER of 0.0078 describe similarly low edit rates at the character level. The leading WERs tell a different story. The paper contrasts 2.61% for the Sinhala collection with 11.98% for the Tamil collection. For the Tamil winner, the output is very close to its reference under character edits, while the word sequence still needs appreciable correction. The authors interpret that gap in terms of word formation and whitespace. A missed boundary can alter how neighbouring characters are grouped without changing many of the visible letters. An error in a letter or mark can also change the identity of an entire word for scoring purposes.

BLEU brings another aspect of that gap into view. The best Tamil BLEU is 0.5803, compared with 0.9396 for the best Sinhala result. A disruption to a word can interrupt several matching sequences that include it. As the authors suggest, the higher Tamil WER is consistent with less successful overlap under BLEU. Meanwhile, Document AI's Tamil ANLS of 0.9923 reflects strong string similarity after normalisation, and its METEOR of 0.8762 reflects the matching and ordering criteria of that measure. Those scores concern different objects, so their magnitudes can be read alongside each other without treating all of them as estimates of a single underlying accuracy.

The broad commercial comparison is also specific to the evaluated collections. The cloud services are the top pair on Tamil and follow Surya on Sinhala. Among the engines with entries for both languages, they retain relatively close scores to one another within each collection. The paper describes differences between these services as hard to interpret from the outside. The experiment records what each returned and how that output scored. Its comparisons are made at the level of the available product.

### What the ablations show

The paper presents no component ablations. Its analyses instead compare intact engines on the same language-specific datasets, examine how rankings change with the scoring unit and count character errors for the best engine in each language. An ablation would deliberately remove or vary part of a recogniser and measure the effect while holding other relevant conditions fixed. Here the engines were used as delivered, so their comparisons show the joint effect of architecture, prior training and recognition procedures as embodied in the available systems.

#### What the Tesseract comparison isolates

The Tesseract and Subasa OCR results use the same Sinhala collection and the same metrics. That controls the test material and scoring when comparing their returned strings. The relationship between the engines makes the comparison informative. Subasa was adapted specifically for Sinhala from Tesseract 4.0, whereas the standalone version in the experiment is Tesseract 5.5.0. The newer standalone engine leads on character error rate, word error rate and all three similarity or overlap scores. The finding applies to those available systems on the rendered Sinhala test set.

Earlier Subasa work, as the authors describe it, reported improvement over standard Tesseract 4.0. The current benchmark compares Subasa with a different version of standalone Tesseract. The earlier and current findings can coexist because each concerns its own comparator and evaluation setup. The authors interpret the new ranking as evidence of improvements in the later Tesseract release for Sinhala. The comparison leaves the role of particular changes in training, recognition or post-processing unresolved. A direct estimate of the effect of Sinhala adaptation would require a matched base and adapted engine evaluated under the same conditions.

The commercial pair supplies a related kind of evidence. Their Tamil scores are close, and Document AI comes first across the metrics. Independent agreement among the metrics shows that the reported lead is visible from several scoring perspectives. The benchmark provides no intervention on these services' internal processing. Their score differences consequently remain a product-level observation. A reason specific to layout, training data or language processing would require evidence about how those systems produced the transcriptions.

#### Which characters account for errors?

The authors examined the outputs of Surya on Sinhala and Document AI on Tamil. For each winning system, they compared the generated strings with the references and counted errors associated with individual characters. This analysis moves from the question of how much correction the full collection needs to the question of where some of those corrections fall. A small aggregate CER can coexist with trouble concentrated in particular parts of the script.

For Sinhala, the authors considered characters with more than 5,000 errors. Several of the prominent examples are diacritics, marks attached to or associated with a base letter. They include ◌ා, ◌ු, ◌ි and ◌්. The paper also identifies the letters න, ක, ය, ර and ව among the difficulties for Surya. The dotted circle makes the position of a dependent mark visible when it is presented on its own. A recognition system has to preserve the mark as part of the transcription even though it is visually associated with a neighbouring letter.

For Tamil, the authors used a threshold of more than 1,600 errors. The diacritic ◌் had the most errors in their analysis of Document AI. The letters க, த, ன and ர also appear among the problematic characters. This gives a more specific account of what remains difficult in the leading Tamil system than the collection-wide CER can provide. The reported counts identify which characters contribute many observed errors. The paper gives no full matrix of which characters are mistaken for which others. A given count can therefore reflect several kinds of edit or recognition context.

The thresholds select frequent errors separately for each language. They are counts, and a frequently occurring character has more chances to enter the list. To decide which character has the highest chance of error when encountered, a reader would also need the number of relevant opportunities for each character and the handling of insertions and substitutions. The authors themselves note the importance of usage frequency when discussing why Sinhala produced more raw character errors while the winning CERs remained close. They suggest that differences in the repertoires, reported as 60 characters for Sinhala and 247 for Tamil, may contribute. The paper uses those counts broadly and describes both scripts as abugidas, writing systems in which base letters and dependent marks work together.

#### What the errors say about boundaries

The strongest Tamil outputs combine a very low CER with a higher WER. This is consistent with the authors' explanation that spaces and the formation of words are a difficulty. The study's character analysis adds evidence that diacritics and letters also present difficulties. A mark error and a space error can both affect a word score. In the first case a word may survive as one unit with a wrong internal form. In the second case the engine may split that word or combine it with another word. The same scoring gap can arise through either route.

The benchmark does not separately align and count those routes at the word level. The evidence for boundary trouble comes from the pattern across metrics and the authors' interpretation. A separate analysis with error labels for missing spaces, extra spaces and errors within otherwise correctly bounded words would answer a narrower question. The current paper provides a reason to distinguish these phenomena when interpreting the reported word results.

The Tamil ranking changes further illustrate the point. Tesseract does better than EasyOCR at character edits. EasyOCR does better at word edits and at the two measures of word overlap. That gives a practical picture of how the two finished engines differ under the paper's test. It offers a way to locate the deficit at different scales in the resulting text, without identifying which stage inside either engine produced it.

### Limitations

#### Limits stated by the authors

The authors emphasise that both collections consist of synthetic print. The text is rendered in black on a white background, avoiding many of the irregularities that accompany actual documents. A camera can capture shadow, motion blur and distortion. A scan can preserve degraded strokes, textured paper or a rotated page. The paper also discusses low resolution, isolated dots and broken lines as sources of difficulty. These conditions can alter which parts of the image are detected and how characters are recovered. The scores apply directly to the rendered images used in the experiment, and the authors caution that camera-image performance may differ.

The authors chose synthetic material because they could not find sufficiently comparable realistic datasets for the two languages. The choice gives each test a known reference, clean typography and a manageable image collection. It also leaves open the performance of these engines on historical books, newspapers, handwriting and complex pages. The test images contain rendered lines, so facilities such as table detection and reading-order recovery have little role in what the scores reflect. The authors identify more fonts, varied backgrounds and noise as possible extensions of their collection design.

The paper also explains why its authors place limited weight on progress in Hindi OCR as a guide to their study. They cite a script-distance assessment that reports 5 between Sinhala and Devanagari, 7 between Tamil and Devanagari and 4 between Sinhala and Tamil. They also cite an account that groups Sinhala and Tamil as rounded scripts and describes Hindi's script differently. These are reasons the authors give for studying the pair directly. The paper's experiments contain Sinhala and Tamil results, so the cited script relationships supply context outside the measured OCR comparisons.

The authors describe the two commercial engines as difficult to interpret internally. They suggest that training data and architectural differences could contribute to the observed results. The experiment accesses these engines through their interfaces. Within that setup, the paper can rank their transcriptions on the benchmark and describe patterns of disagreement with the reference. It cannot verify the role of a particular training source or architectural choice.

#### Limits that follow from the setup

The two synthetic collections are similar in purpose and sample count. They differ in how they were assembled. The Tamil set uses subtitle lines, a length criterion and the authors' selected fonts and rendering procedure. The Sinhala set comes from an existing collection with its own fonts and data preparation. Cross-language differences combine these test conditions with the script and engine effects. This matters when reading the leading word error rates. They tell a reader what happened on the two benchmarks. Treating them as estimates of the inherent difficulty of the scripts would require control over additional properties of the images and strings.

The Tamil sampling procedure also shapes what the scores represent within that language. Lines of 40 characters or less were outside the sampling pool. The character-focused preparation limits the kinds of text included. A collection of short labels, combinations of scripts or documents with many non-text elements can present different segmentation and transcription demands. Variation across the selected typefaces is built into the overall benchmark, but the paper gives no font-by-font result. The aggregate scores therefore support comparisons on the collection as assembled. They offer limited information about performance on an individual font or a distinct genre.

For reproducing the Tamil data pipeline, the detailed method supplies the counts at successive stages, including 2,437,960 after initial line preparation and 222,658 after the length filter. The conclusion refers to approximately 2.2 million Tamil text records without identifying a matching stage of that pipeline. The counts in the method are the ones explicitly attached to the operations described. Both the method and conclusion identify 7,000 as the sample selected for rendering and evaluation.

Zero-shot assessment leaves the engines' prior exposure to similar text or images unresolved. The authors ran the systems without further fine-tuning, including systems whose original training data they could not inspect. This establishes a test of available OCR capabilities. Establishing that every font, text source or related image was absent from every engine's prior training would require separate evidence. Similarly, the result for Subasa includes the effect of specialisation already built into the service.

The paper gives the edit-rate definitions and metric descriptions, while some scoring details remain open. In ANLS, the threshold behaviour at equality differs between the prose and displayed rule. The word-level discussion turns on whitespace and word formation, but the paper does not specify every detail of how boundaries and spacing were handled before scoring. Character counts can also depend on how dependent marks are represented and counted. These details matter more for exact replication of the scores and the character tallies than for following the logic of scoring at multiple levels.

Finally, the table supplies point results for the assembled collections. The commercial services are close on the reported measures, and the paper gives no uncertainty estimates for their differences. It also compares accuracy measures, leaving considerations such as run time and power consumption outside the reported experiment. The strength of the comparison is the shared test within each language. Its detail is sufficient to identify the leading systems on those collections and to show why character and word scoring can favour different engines.

### What came after

[SinFoS](https://md.research.elamur.ai/free/en/papers/sofalas-2026-sinfos-parallel-dataset-translating-sinhala/), published in 2026, cites the OCR study. It presents a parallel dataset for translating Sinhala figures of speech. Its subject is translation, where aligned text is the resource of interest. Jayatilleke and de Silva's contribution concerns recognition, where the corresponding pair is a printed image and its transcription. The documented connection is the citation. Whether SinFoS reused an OCR engine, adopted the synthetic rendering procedure or drew on the benchmark in its dataset construction is unspecified.

## Cite

Cite as Nevidu Jayatilleke and Nisansa de Silva. 2025. Zero-shot OCR Accuracy of Low-Resourced Languages: A Comparative Analysis on Sinhala and Tamil. Proceedings of the 15th International Conference on Recent Advances in Natural Language Processing - Natural Language Processing in the Generative AI Era.

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@inproceedings{jayatilleke2025zero,
  title = {{Zero-shot OCR Accuracy of Low-Resourced Languages: A Comparative Analysis on Sinhala and Tamil}},
  author = {Nevidu Jayatilleke and Nisansa {de Silva}},
  booktitle = {Proceedings of the 15th International Conference on Recent Advances in Natural Language Processing - Natural Language Processing in the Generative AI Era},
  year = {2025},
  url = {https://aclanthology.org/2025.ranlp-1.56/}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
