Offline Extraction of Indic Regional Language from Natural Scene Image using Text Segmentation and Deep Convolutional Sequence

Sauradip Nag, Pallab Kumar Ganguly, Sumit Roy, Sourab Jha, Krishna Bose, Abhishek Jha, Koushik DasguptaarXiv 2018 · arXiv

Introduction

In a linguistically diverse country like India, identifying the local regional language is often the first step toward effective communication or navigation. While modern smartphones use GPS metadata to "geotag" photos, many images—especially those from DSLRs or older devices—lack this data. Furthermore, rural areas often lack well-defined digital addresses, making visual cues from the environment essential for localization.

Examples of natural scene images featuring diverse Indian scripts including Hindi, English, Tamil, Urdu, and Bengali.

Existing text extraction methods often fail in "natural scenes" due to harsh lighting, blurred text, or non-standard orientations. This paper presents a robust, offline pipeline for identifying regional Indian languages from natural scene images (like shop signs or street markers). By combining advanced image correction, a modified deep learning detection-recognition stack, and a custom geospatial database, the system can pinpoint a location and its primary spoken language with an average accuracy of ~12km—all without requiring active GPS or internet connectivity.

Proposed Methodology

The authors propose a multi-stage pipeline that improves upon standard "off-the-shelf" models to handle the complexities of Indian street scenes. By relying on a local Post Office database (CSDB), the system mimics how a human might navigate—using local landmarks and administrative centers (Taluks) to find a location when GPS fails.

Flowchart of the proposed multi-stage pipeline for offline language extraction and geospatial mapping.

1. Image Correction

To handle night shots or low-quality mobile photos, the system applies a Gamma Filter (value 2.5), Gaussian Blur for noise reduction, and a Weiner Filter for de-blurring.

2. Text Detection (EAST)

The system utilizes the Efficient and Accurate Scene Text Detector (EAST) with a PVAnet architecture. To ensure no information is lost during segmentation, a Polygonal Convex Hull technique merges neighboring text boxes. This preserves the context of multi-line addresses, which is critical for accurate location querying.

3. Text Recognition (DTRN)

For script recognition, the researchers implemented a Deep Text Recurrent Network (DTRN). This consists of a MaxOut CNN for high-level feature extraction, followed by a Bi-Directional LSTM and a Connectionist Temporal Classification (CTC) layer. The model is specifically trained on English, Hindi, and Telugu scripts.

4. Geospatial Mapping and Language Extraction

Recognized text is tokenized and queried against two offline databases: the City and States Database (CSDB) containing Post Office records, and the Latitude and Longitude Database (LLDB). Once a location is identified, the system queries a Regional Language Database (RLDB) to determine the dominant languages spoken at those coordinates.

Dataset and Evaluation

The study utilized a "Complex Dataset" of 8,500 images, combining standard benchmarks (ICDAR-15, KAIST, and NEOCR) with self-generated data captured via smartphones. Notably, 30% of these images were low-resolution (<400x400 pixels). The training set included 3,700 English words, 1,900 Telugu words, and 2,900 Hindi words.

Results

The proposed method consistently outperformed state-of-the-art models like Seglink and standard EAST:

  • Detection: Achieved an F-Score of 0.80, significantly higher than Seglink (0.73) and the base EAST model (0.76).
  • Recognition: The DTRN model achieved a Precision of 0.77 and Recall of 0.81, vastly outperforming traditional OCR tools like Tesseract which struggled with complex backgrounds.
  • Geospatial Accuracy: Across 8,500 images, the average distance between the predicted offline location and the ground truth (Google Maps) was only 11.87 km.

Conclusion

While the system currently struggles with extreme occlusion or contextual ambiguities (e.g., advertisements for businesses located in different cities), it demonstrates the feasibility of high-accuracy offline localization. Future work will focus on expanding the model to all 26 officially recognized regional languages in India and refining ambiguity resolution using secondary scene information.

Summary updated

BibTeX
@misc{nag2018offline,
  author = {Sauradip Nag and Pallab Kumar Ganguly and Sumit Roy and Sourab Jha and Krishna Bose and Abhishek Jha and Koushik Dasgupta},
  title = {{Offline Extraction of Indic Regional Language from Natural Scene Image using Text Segmentation and Deep Convolutional Sequence}},
  year = {2018},
  eprint = {1806.06208},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1806.06208},
}
Figure