Towards Deployable OCR models for Indic languages
Minesh Mathew, Ajoy Mondal, CV Jawahar
TL;DR
The paper addresses OCR for Indian languages with diverse scripts by conducting a comprehensive empirical study of CTC-based transcription across 13 official languages using a newly introduced Mozhi dataset. It systematically compares encoder architectures (Col_RNN, Win_RNN, CNN_only, CRNN), demonstrates that CRNN generally yields the best word/line recognition performance, and shows that a pipeline combining segmentation tools with CRNN-based recognition achieves strong end-to-end page OCR results that surpass public tools on several languages. In addition to reporting recognition performance, the authors release Mozhi (1.2M word annotations across 13 languages) and provide publicly accessible APIs and a web app to facilitate digitization of Indic documents, aiming to accelerate research and deployment. The work highlights practical applicability, reveals current limitations in script/diversity and font variations, and outlines directions for broader data collection and pretraining to improve robustness across diverse documents.
Abstract
Recognition of text on word or line images, without the need for sub-word segmentation has become the mainstream of research and development of text recognition for Indian languages. Modelling unsegmented sequences using Connectionist Temporal Classification (CTC) is the most commonly used approach for segmentation-free OCR. In this work we present a comprehensive empirical study of various neural network models that uses CTC for transcribing step-wise predictions in the neural network output to a Unicode sequence. The study is conducted for 13 Indian languages, using an internal dataset that has around 1000 pages per language. We study the choice of line vs word as the recognition unit, and use of synthetic data to train the models. We compare our models with popular publicly available OCR tools for end-to-end document image recognition. Our end-to-end pipeline that employ our recognition models and existing text segmentation tools outperform these public OCR tools for 8 out of the 13 languages. We also introduce a new public dataset called Mozhi for word and line recognition in Indian language. The dataset contains more than 1.2 million annotated word images (120 thousand text lines) across 13 Indian languages. Our code, trained models and the Mozhi dataset will be made available at http://cvit.iiit.ac.in/research/projects/cvit-projects/
