[Paper Review] A BLSTM Network for Printed Bengali OCR System with High Accuracy
This paper proposes a single-layer BLSTM-CTC neural network for printed Bengali and English text recognition, achieving 99.32% character-level and 96.65% word-level accuracy on 20 Bengali fonts. The system processes entire text lines without segmentation, using CTC for end-to-end training on 47,720 lines, and outperforms Google's drive-based OCR in accuracy while avoiding cross-script confusion, especially with Assamese characters.
This paper presents a printed Bengali and English text OCR system developed by us using a single hidden BLSTM-CTC architecture having 128 units. Here, we did not use any peephole connection and dropout in the BLSTM, which helped us in getting better accuracy. This architecture was trained by 47,720 text lines that include English words also. When tested over 20 different Bengali fonts, it has produced character level accuracy of 99.32% and word level accuracy of 96.65%. A good Indic multi script OCR system is also developed by Google. It sometimes recognizes a character of Bengali into the same character of a non-Bengali script, especially Assamese, which has no distinction from Bengali, except for a few characters. For example, Bengali character for 'RA' is sometimes recognized as that of Assamese, mainly in conjunct consonant forms. Our OCR is free from such errors. This OCR system is available online at https://banglaocr.nltr.org
Motivation & Objective
- To develop a high-accuracy, end-to-end printed Bengali and English OCR system that avoids segmentation errors common in traditional OCR pipelines.
- To address the limitations of existing systems like Tesseract and Google’s drive-based OCR, particularly their susceptibility to misclassifying Bengali characters as Assamese due to visual similarity.
- To create a standalone, accessible OCR system that can be deployed in applications without relying on cloud-based APIs.
- To evaluate the performance of a shallow BLSTM-CTC architecture on a relatively small training dataset of 47,720 lines.
- To improve robustness against font variation and document degradation in Bengali script recognition.
Proposed method
- A single-layer bidirectional Long Short-Term Memory (BLSTM) network with 128 hidden units is used for sequence modeling, processing grayscale image strips of size 1×48 pixels per line.
- The BLSTM is combined with a Connectionist Temporal Classification (CTC) layer to enable end-to-end training without requiring explicit word or character-level alignment.
- Input features are normalized to 48-pixel height, and the model is trained with a batch size of one over a maximum of 80 epochs.
- Training stops when the change in CTC loss and validation error between consecutive epochs is ≤0.01 and ≤0.1, respectively.
- The model is evaluated using Minimum Edit Distance (MED) to compute character-level and word-level accuracy on a held-out test set.
- The system is tested against Tesseract 4.0 and Google Drive-based OCR (GDS), with results compared using MED-based accuracy metrics.
Experimental results
Research questions
- RQ1Can a single-layer BLSTM-CTC architecture achieve high accuracy in printed Bengali and English text recognition without requiring word or character segmentation?
- RQ2How does the performance of a lightweight BLSTM-CTC model compare to state-of-the-art systems like Google’s drive-based OCR and Tesseract 4.0 on Bengali script?
- RQ3To what extent does the proposed system avoid misrecognition of Bengali characters as Assamese characters, especially in conjunct forms?
- RQ4Does the absence of peephole connections and dropout in the BLSTM architecture contribute to improved generalization and accuracy on a limited training set?
- RQ5Can a standalone, open-access OCR system achieve higher accuracy than cloud-based systems while remaining deployable in local applications?
Key findings
- The proposed BLSTM-CTC system achieved 99.32% character-level accuracy and 96.65% word-level accuracy on 20 different Bengali fonts, outperforming both Tesseract 4.0 (91.79% CA, 76.31% WA) and Google’s drive-based OCR (98.54% CA, 92.86% WA).
- The system is free from cross-script confusion, particularly avoiding misrecognition of Bengali 'RA' as Assamese, a known issue in Google’s OCR system.
- The model trained with 128 hidden units and 48 epochs achieved the lowest validation error, indicating optimal performance on the given dataset size.
- Despite using only 47,720 training lines, the system achieved high accuracy, suggesting that the BLSTM-CTC architecture is effective even with moderate-sized datasets.
- The system does not generate spurious Dandas (sentence separators), a problem observed in Google’s OCR output.
- The fully operational system is publicly available at https://banglaocr.nltr.org, enabling standalone deployment and integration into larger applications.
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.