TIES-IndicOCR-Omni v1

Updated public release: 2026-11-11.

A single deployable Hugging Face model repository and inference API routing across 32 Indic OCR specialists. This package covers printed, handwritten, and scene-text word crops and preserves each trained checkpoint instead of performing unsafe weight averaging.

Open the browser demo β€” inference runs locally in the visitor's browser; uploaded images are not sent to a server.

Architecture

This is a routed mixture of experts, not one averaged neural checkpoint. The caller supplies an ISO language code and modality; the runtime lazily loads the corresponding ONNX expert. This is the deployable consolidation format because a literal weight fusion was benchmarked and failed (Hindi test subset CER 1.0000 versus 0.0998 for the specialist).

Usage

pip install -r requirements.txt
python inference.py page.png --language hi --modality handwritten --page --model-dir .

Python:

from inference import TIESIndicOCROmni
model = TIESIndicOCROmni(".")
result = model.predict("image.png", language="hi", modality="handwritten")
page = model.predict_page("page.png", language="hi", modality="handwritten")

predict() accepts a cropped word or short line. predict_page() applies the shared page-to-line detector, line-to-word segmenter, word OCR pass, and reading-order reconstruction.

Expert evaluation

Metrics below are each expert's held-out test CER. They are not a single aggregate Omni score. Routes marked experimental have CER >= 0.50 and should not be used for production claims.

Language Modality Dataset Test CER Status
bn Handwritten IIIT-INDIC-HW-WORDS-Bengali 0.0685 validated
as Printed Mozhi-Assamese 0.0092 validated
bn Printed Mozhi-Bengali 0.0075 validated
gu Printed Mozhi-Gujarati 0.0175 validated
pa Printed Mozhi-Punjabi 0.0070 validated
hi Printed Mozhi-Hindi 0.0123 validated
kn Printed Mozhi-Kannada 0.0117 validated
ml Printed Mozhi-Malayalam 0.0079 validated
mr Printed Mozhi-Marathi 0.0064 validated
mni Printed Mozhi-Manipuri 0.0132 validated
or Printed Mozhi-Oriya 0.0194 validated
ur Printed Mozhi-Urdu 0.9697 experimental
gu Handwritten IIIT-INDIC-HW-WORDS-Gujarati 0.0696 validated
pa Handwritten IIIT-INDIC-HW-WORDS-Punjabi 0.0398 validated
hi Handwritten IIIT-Indic-HW-UC-Hindi-curated 0.1011 validated
kn Handwritten IIIT-INDIC-HW-WORDS-Kannada 0.0172 validated
ml Handwritten IIIT-INDIC-HW-WORDS-Malayalam 0.0312 validated
or Handwritten IIIT-INDIC-HW-WORDS-Oriya 0.0876 validated
te Handwritten IIIT-INDIC-HW-WORDS-Telugu 0.0900 validated
ur Handwritten IIIT-INDIC-HW-WORDS-Urdu 0.1240 validated
bn Scene Text IndicSTR12-Bengali 1.0000 experimental
as Scene Text IndicSTR12-Assamese 1.0000 experimental
gu Scene Text IndicSTR12-Gujarati 1.0000 experimental
pa Scene Text IndicSTR12-Punjabi 0.9399 experimental
hi Scene Text IndicSTR12-Hindi 0.9375 experimental
kn Scene Text IndicSTR12-Kannada 1.0000 experimental
ml Scene Text IndicSTR12-Malayalam 1.0000 experimental
mr Scene Text IndicSTR12-Marathi 1.0000 experimental
or Scene Text IndicSTR12-Oriya 1.0000 experimental
ta Scene Text IndicSTR12-Tamil 1.0000 experimental
te Scene Text IndicSTR12-Telugu 1.0000 experimental
ur Scene Text IndicSTR12-Urdu 1.0000 experimental

Provenance and license

The original experts were trained on CC BY 4.0 datasets catalogued by IL-OCR at IIIT Hyderabad. The updated Hindi handwriting expert also uses the IIIT Indic-HW-UC archive under dataset rights and permissions confirmed by TIESresearch. Exact routes and metrics are recorded in model_index.json. This repository contains model weights and inference code only; source training images, user uploads, and correction crops are not included.

The Hindi handwriting route uses a confidence cutoff of 0.65, selected on 50 development pages. On a separate 150-page DohaScript subset it reduced end-to-end CER/WER from 0.7394/1.1452 for the previous expert to 0.4953/0.9138. A final 200-page audit of the exact deployed preprocessing scored 0.5137/0.9035. Other routes do not inherit this cutoff without calibration.

External public evaluation

The complete live pipeline was evaluated on the CC BY 4.0 IndicDLP block-level public sample, which was not used to train the weights in this release. All 110 images covered by an available printed expert completed without a processing failure. Aggregate CER/WER was 0.2553/0.5133.

Language Images CER WER
Assamese 10 0.2481 0.7456
Bengali 10 0.3481 0.7651
Gujarati 10 0.1105 0.2720
Hindi 10 0.0957 0.3042
Kannada 10 0.0882 0.2906
Malayalam 10 0.6965 0.9172
Manipuri 10 0.9281 0.9720
Marathi 10 0.2350 0.6326
Odia 10 0.0772 0.3093
Punjabi 10 0.2255 0.5378
Urdu 10 1.0000 1.0000

The correction records produced while reviewing this benchmark are not part of the published weights. They remain subject to separate replay training and holdout evaluation.

Limitations

  • Language and modality are explicit routing inputs; automatic routing is not included.
  • Full-page segmentation is heuristic and should be evaluated separately for each document style.
  • Printed Manipuri currently has a Meitei Mayek versus Bengali-script vocabulary mismatch.
  • Printed Urdu returned no usable text on the external public sample and requires retraining.
  • Scene-text specialists currently require further training where marked.
  • Accuracy varies substantially by language and modality; inspect the table before deployment.
Downloads last month
105
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Space using TIESresearch/TIES-IndicOCR-Omni-v1 1