Convolutional Character Networks

Linjie Xing, Zhi Tian, Weilin Huang, Matthew R. Scott · DOI

Abstract

Recent progress has been made on developing a unified framework for joint text detection and recognition in natural images, but existing joint models were mostly built on two-stage framework by involving ROI pooling, which can degrade the performance on recognition task. In this work, we propose convolutional character networks, referred as CharNet, which is an one-stage model that can process two tasks simultaneously in one pass. CharNet directly outputs bounding boxes of words and characters, with corresponding character labels. We utilize character as basic element, allowing us to overcome the main difficulty of existing approaches that attempted to optimize text detection jointly with a RNN-based recognition branch. In addition, we develop an iterative character detection approach able to transform the ability of character detection learned from synthetic data to real-world images. These technical improvements result in a simple, compact, yet powerful one-stage model that works reliably on multi-orientation and curved text. We evaluate CharNet on three standard benchmarks, where it consistently outperforms the state-of-the-art approaches by a large margin, e.g., with improvements of 65.33% to 71.08% (with generic lexicon) on ICDAR 2015, and 54.0% to 69.23% on Total-Text, on end-to-end text recognition.

Introduction

Traditional "End-to-End" (E2E) text reading systems usually follow a two-stage pipeline: first, a detector finds a bounding box for a word; second, that region is cropped via ROI pooling and fed into a Recurrent Neural Network (RNN) for recognition. This approach suffers from sub-optimization, as detection and recognition are trained separately, and ROI pooling often degrades the resolution of small characters, especially in multi-oriented or curved text. CharNet addresses these flaws by introducing a one-stage architecture that treats individual characters as the fundamental unit of processing, eliminating the need for ROI pooling and RNN-based recognition branches.

Methodology

CharNet is a purely convolutional architecture that processes an entire image in a single pass. It features two parallel branches: a Text Detection Branch for word-level bounding boxes and a Character Branch for individual character detection and classification.

The CharNet architecture utilizes Hourglass modules and parallel branches to perform detection and character-level recognition in a single pass.

Characters as Basic Units

By focusing on characters rather than words, the model handles curved or tilted text more naturally. While a word can be curved and distorted, an individual character is almost always a simple, compact shape. Detecting characters is inherently more robust than trying to fit a complex polygon around a curved word.

Iterative Character Detection

A major hurdle in character-based OCR is that most real-world datasets only provide word-level labels, not character-level boxes. The authors developed an iterative training scheme to bridge this gap:

  1. Pre-training: Train an initial model on synthetic data (e.g., Synth800k) where character-level boxes are known.
  2. Weak Supervision: Run the model on real-world images to predict character boxes.
  3. Filtering: Use a matching rule (comparing predicted boxes to word transcripts) to identify correct labels.
  4. Retraining: Fine-tune the model using these new, weakly-supervised labels.

Key Results

CharNet set new records across several high-stakes benchmarks, significantly outperforming previous state-of-the-art (SOTA) models. On the Total-Text dataset, which focuses on challenging curved text, CharNet improved the E2E recognition F-measure from 54.0% to 69.23%.

CharNet demonstrates superior performance on curved and multi-oriented text by accurately localizing and classifying individual characters.

On ICDAR 2015, the model improved E2E recognition from 65.33% to 71.08% using a generic lexicon. These results prove that CNNs can effectively replace RNNs for recognition tasks when treated as a dense classification task over the feature map. Furthermore, because it is a one-stage model, CharNet is more compact and efficient than competing two-stage systems.

Conclusion

CharNet represents a significant advancement in unified text detection and recognition. By leveraging character-level features and an iterative training strategy, it achieves robust performance on multi-oriented and curved text. While the iterative process adds training complexity, the resulting model is simple, powerful, and highly effective for "text in the wild." Future work may involve expanding the character-based approach to languages with larger character sets, such as Chinese, and further optimizing the training pipeline.

Summary updated

BibTeX
@inproceedings{xing2019convolutional,
  author = {Linjie Xing and Zhi Tian and Weilin Huang and Matthew R. Scott},
  title = {{Convolutional Character Networks}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2019},
  doi = {10.1109/iccv.2019.00922},
}
Figure