[Paper Review] A Novel Approach to OCR using Image Recognition based Classification for Ancient Tamil Inscriptions in Temples
This paper proposes a novel OCR system for ancient Tamil inscriptions (7th–12th century) using a 2D convolutional neural network (CNN) trained on manually curated, cropped temple inscription images. After Otsu-based binarization, the CNN classifies characters, with results integrated via pytesseract and TTS output; the system achieves 77.7% recognition accuracy on the test set.
Recognition of ancient Tamil characters has always been a challenge for epigraphers. This is primarily because the language has evolved over the several centuries and the character set over this time has both expanded and diversified. This proposed work focuses on improving optical character recognition techniques for ancient Tamil script which was in use between the 7th and 12th centuries. While comprehensively curating a functional data set for ancient Tamil characters is an arduous task, in this work, a data set has been curated using cropped images of characters found on certain temple inscriptions, specific to this time as a case study. After using Otsu thresholding method for binarization of the image a two dimensional convolution neural network is defined and used to train, classify and, recognize the ancient Tamil characters. To implement the optical character recognition techniques, the neural network is linked to the Tesseract using the pytesseract library of Python. As an added feature, the work also incorporates Google's text to speech voice engine to produce an audio output of the digitized text. Various samples for both modern and ancient Tamil were collected and passed through the system. It is found that for Tamil inscriptions studied over the considered time period, a combined efficiency of 77.7 percent can be achieved.
Motivation & Objective
- To address the challenge of recognizing ancient Tamil script, which has evolved significantly over centuries and lacks standardized digital resources.
- To develop a functional dataset of cropped characters from temple inscriptions spanning the 7th to 12th centuries.
- To improve OCR performance for historical Tamil script using deep learning-based image classification.
- To integrate text-to-speech functionality for accessible output of digitized inscriptions.
- To evaluate the system’s performance on both modern and ancient Tamil text samples.
Proposed method
- A custom dataset was curated from cropped images of ancient Tamil characters extracted from temple inscriptions dated between the 7th and 12th centuries.
- Image binarization was performed using the Otsu thresholding method to enhance contrast and prepare for classification.
- A two-dimensional convolutional neural network (2D-CNN) was designed and trained to classify individual Tamil characters.
- The trained CNN model was interfaced with the Tesseract OCR engine via the pytesseract Python library for end-to-end OCR processing.
- Google’s text-to-speech engine was integrated to generate audio output from recognized text.
- The system was evaluated on both modern and ancient Tamil text samples to assess recognition accuracy.
Experimental results
Research questions
- RQ1Can a deep learning-based image classification model achieve reliable recognition of ancient Tamil characters from historical inscriptions?
- RQ2How effective is Otsu-based image preprocessing in improving character recognition accuracy for degraded temple inscriptions?
- RQ3What is the performance of a hybrid OCR system combining CNN classification with Tesseract for ancient Tamil script?
- RQ4To what extent can the system handle variability in script style and font across different inscriptions from the 7th–12th centuries?
- RQ5How does the integration of text-to-speech enhance accessibility for epigraphic research and cultural preservation?
Key findings
- The proposed OCR system achieved a combined recognition accuracy of 77.7% on ancient Tamil inscriptions from the 7th to 12th centuries.
- Otsu thresholding significantly improved image quality for subsequent CNN classification by enhancing contrast and reducing noise.
- The integration of the 2D-CNN with Tesseract via pytesseract enabled effective end-to-end text recognition.
- The system successfully generated audio output using Google’s text-to-speech engine, enabling multimodal access to digitized inscriptions.
- The curated dataset of cropped characters from temple inscriptions proved viable for training and evaluation despite the scarcity of labeled historical script data.
- The method demonstrated feasibility for large-scale epigraphic digitization, particularly for scripts with high historical variation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.