[Paper Review] Deep Neural Network for Semantic-based Text Recognition in Images
This paper proposes a semantic-based text recognition (STR) model that improves text recognition in images by grouping and ordering isolated text regions using a Text Grouping and Arranging (TGA) algorithm and correcting predictions via a sequence-to-sequence model with bidirectional LSTM. The STR model achieves 90% accuracy on scanned catalog images and 71% on challenging protest sign images, demonstrating improved robustness through contextual understanding beyond isolated word recognition.
State-of-the-art text spotting systems typically aim to detect isolated words or word-by-word text in images of natural scenes and ignore the semantic coherence within a region of text. However, when interpreted together, seemingly isolated words may be easier to recognize. On this basis, we propose a novel "semantic-based text recognition" (STR) deep learning model that reads text in images with the help of understanding context. STR consists of several modules. We introduce the Text Grouping and Arranging (TGA) algorithm to connect and order isolated text regions. A text-recognition network interprets isolated words. Benefiting from semantic information, a sequenceto-sequence network model efficiently corrects inaccurate and uncertain phrases produced earlier in the STR pipeline. We present experiments on two new distinct datasets that contain scanned catalog images of interior designs and photographs of protesters with hand-written signs, respectively. Our results show that our STR model outperforms a baseline method that uses state-of-the-art single-wordrecognition techniques on both datasets. STR yields a high accuracy rate of 90% on the catalog images and 71% on the more difficult protest images, suggesting its generality in recognizing text.
Motivation & Objective
- To address the limitation of state-of-the-art text spotting systems that treat words in isolation, ignoring semantic coherence within text regions.
- To improve text recognition accuracy by leveraging contextual and semantic information from grouped phrases and sentences.
- To develop a novel layout analysis algorithm (TGA) that groups and orders text regions into coherent phrases or paragraphs.
- To create two new, publicly available datasets with ground-truth groupings of multi-word phrases and paragraphs for training and evaluation.
- To demonstrate the generality and effectiveness of semantic context in improving text recognition across diverse, real-world image domains.
Proposed method
- The TGA algorithm groups and orders isolated text regions by analyzing spatial proximity, alignment, and visual similarity to form coherent phrases or paragraphs.
- A deep learning-based text recognition network processes individual words and generates initial predictions.
- A sequence-to-sequence model with bidirectional LSTM encodes contextual information from predicted word sequences to correct spelling and word choice errors.
- The sequence-to-sequence model treats predicted word sequences as input and corrected sequences as output, enabling contextual spelling correction.
- The model integrates multi-level information—spatial grouping and semantic context—rather than relying solely on image features to improve recognition.
- The framework is trained and evaluated on two new datasets: IDD (scanned interior design catalogs) and TPID (photographs of protest signs with handwritten text).
Experimental results
Research questions
- RQ1Can grouping and ordering isolated text regions into coherent phrases improve text recognition accuracy in images?
- RQ2How effectively can a sequence-to-sequence model with bidirectional LSTM correct errors in word recognition using semantic context?
- RQ3Does incorporating semantic context significantly improve recognition performance on challenging, real-world images with irregular text layouts?
- RQ4To what extent can a model generalize across different semantic contexts, such as printed catalogs and handwritten protest signs?
- RQ5Can layout analysis algorithms like TGA reliably identify and order text regions that belong to the same phrase or paragraph in complex scenes?
Key findings
- The STR model achieves a recognition accuracy of 90% on the scanned interior design catalog dataset (IDD), significantly outperforming baseline single-word recognition methods.
- On the more challenging protest image dataset (TPID), STR achieves 71% accuracy, demonstrating robustness to geometric distortion, irregular fonts, and non-horizontal text layouts.
- The TGA algorithm successfully groups and arranges text regions in 90% of IDD images and performs reliably on single, clearly written protest signs, though it struggles with overlapping or rotated text regions.
- The sequence-to-sequence correction model effectively corrects errors such as misrecognized words (e.g., 'SILLS' to 'SPILLS') and missing words (e.g., 'a' in a sentence), improving fluency and correctness.
- The model reduces error rates by leveraging semantic context, proving that contextual information significantly enhances recognition beyond isolated word analysis.
- The proposed datasets IDD and TPID, with ground-truth phrase and paragraph annotations, are publicly available and represent a novel benchmark for semantic-based text recognition.
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.