UniLipi: A Unified Multi-Script OCR for Historical Indic Manuscripts
Organizations: International Institute of Information Technology Hyderabad, INDIA · GITAM
Abstract
Optical character recognition (OCR) for handwritten Indic manuscripts is essential for large-scale digitization and computational access to manuscript heritage. However, existing approaches are typically developed for one script at a time and require substantial script-specific customization. This limits scalability and practical deployment across diverse collections. We present UniLipi, a unified multi-script OCR model for handwritten Indic manuscripts trained jointly across 13 Indic scripts within a single framework. UniLipi directly handles realistic manuscript conditions, including extreme variation in line geometry, large variation in line length, and partial interruptions caused by non-textual manuscript entities such as holes, stains, or pictorial illustrations. To operate effectively under ultra low-resource conditions, the model leverages script-aware synthetic manuscript data generation, substantially reducing reliance on large volumes of real annotated data. Beyond historical manuscripts, we show that UniLipi serves as an effective foundational pretrained model. Specifically, its learned representations enable good OCR performance for contemporary Indic handwriting and extend to several non-Indic scripts, including Tibetan, Italian, Latin, and Chinese scripts. In addition to transcription, UniLipi predicts script identity and per-line native character counts, supporting practical manuscript cataloging workflows.
Figures & tables
| Region | Script | CER (%) | Mono CER (%) | Count-MAE |
| North and Central India | Devanagari | 8.4 | 12.3 | 1.2 |
| Sharada | 5.2 | 6.9 | 0.7 | |
| Modi | 18.6 | 17.4 | 2.3 | |
| Western India | Gurmukhi | 5.5 | 6.5 | 1.2 |
| Jaini | 6.1 | 7.9 | 1.4 | |
| Eastern India | Bengali | 18.3 | 17.1 | 2.2 |
| Model | Params (M) | CER | Script-L | CER-L | Script-H | CER-H |
| Kraken [ 31 ] | 4.1 | 28.5 | Sharada | 15.2 | Bengali | 42.8 |
| PyLaia [ 50 ] | 5.3 | 24.3 | Newar | 13.4 | Modi | 38.7 |
| VLT [ 32 ] | 7.0 | 19.6 | Malayalam | 10.8 | Bengali | 31.5 |
| Tesseract [ 58 ] | 8.0 | 32.4 | Malayalam | 18.6 | Modi | 47.3 |
| HTR VT [ 35 ] | 53.5 | 14.8 | Newar | 7.9 | Modi | 26.4 |
| HTR-ConvText [ 61 ] | 65.9 | 12.9 | Sharada | 6.8 | Siddham | 23.7 |
| Modified Component | Default | CER | Count-MAE |
| IAST as vocab | Roman WX | 11.0 | 1.7 |
| Dedicated vocab per script | Roman WX | 14.1 | 1.9 |
| No script token | Auxiliary tokens | 7.1 | 1.3 |
| No count token | Auxiliary tokens | 9.3 | - |
| No script and count token | Auxiliary tokens | 9.7 | - |
| Encoder with 4 Layers | 6 Layers | 9.3 | 1.5 |
Optical Character Recognition
Optical character recognition converts text in images into machine-readable text, from printed pages and handwriting to signs and symbols.
See all 200 papers