Deep learning for scene text detection and recognition

Xiang Bai, Minghui Liao, Baoguang Shi, Mingkun YangScientia 2018

Abstract

Scene text detection and recognition is a universal text recognition technology, which has become a hot research topic in the field of computer vision and document analysis in recent years. It is widely applied in geographical positioning, license plate recognition, and driverless applications. Compared to traditional document text detection and recognition, scene text varies more dramatically in font, color, scale, layout, and background. Owing to its excellent performance, deep learning has been widely adopted in this field. In this paper, we mainly review our representative studies based on deep learning in this field and describe the future research trends in this field.

Introduction

Traditional Optical Character Recognition (OCR) systems are highly effective for scanned documents with uniform backgrounds and standard fonts. However, "Scene OCR"—the task of extracting text from natural environments like street views, product labels, or signage—is significantly more complex. Text in the wild suffers from extreme variations in scale, perspective distortion, artistic fonts, and "cluttered" backgrounds that can mimic text patterns (e.g., fences or bricks).

Scene text detection on a building sign using a quadrilateral bounding box.

Methodologies in Scene OCR

The transition from hand-crafted features to deep learning has enabled the development of flexible, end-to-end neural networks capable of handling these complexities. Several key architectures have defined this shift:

Detection in the wild requires moving beyond simple axis-aligned bounding boxes to account for orientation and perspective. TextBoxes utilizes an end-to-end detector based on the SSD (Single Shot MultiBox Detector) framework, employing "long and narrow" convolutional kernels to match the high aspect ratio of words. SegLink decomposes text into segments (local patches) and links (connections), allowing the model to "stitch together" long or heavily oriented text lines that standard detectors might miss.

Text Recognition: CRNN

The Convolutional Recurrent Neural Network (CRNN) is a landmark architecture that treats recognition as a sequence-to-sequence problem. It combines a CNN for feature extraction, a Bidirectional LSTM (RNN) for sequence modeling, and Connectionist Temporal Classification (CTC) loss for transcription. Crucially, this approach does not require character-level location annotations during training.

Handling Irregularity and Context

For curved or irregular text, spatial transformer-based rectification can automatically "flatten" distorted text before it reaches the recognition engine. Furthermore, the FIAT framework demonstrates "Semantic Synergy" by fusing visual features with text features to improve fine-grained image classification, such as distinguishing between similar product brands by reading their labels.

Key Results and Insights

  • Performance: CRNN achieved a state-of-the-art 97.8% accuracy on the IIIT5k benchmark (with a 50-word lexicon) and 81.2% without a dictionary.
  • Efficiency: SegLink achieved real-time performance at 20.6 FPS on the ICDAR 2015 dataset while maintaining a high F-measure of 75.0%.
  • Semantic Boost: Integrating text features via the FIAT model improved classification accuracy from 63.1% to 72.8% on a custom Drink Bottle dataset.

Future Directions

Despite significant progress, challenges remain in handling extremely distorted or vertically stacked text. Future research will likely focus on robust multi-lingual support (e.g., mixed Chinese and English scenes), weakly supervised learning to reduce the labor-intensive nature of annotation, and deeper semantic understanding—moving from simply "reading" words to "understanding" their contextual meaning within a scene.

Summary updated

BibTeX
@inproceedings{bai2018deep,
  author = {Xiang Bai and Minghui Liao and Baoguang Shi and Mingkun Yang},
  title = {{Deep learning for scene text detection and recognition}},
  booktitle = {Scientia},
  year = {2018},
  doi = {10.1360/n112018-00003},
}
Figure