Deep Direct Regression for Multi-oriented Scene Text Detection

Wenhao He, Xu-Yao Zhang, Fei Yin, Cheng-Lin Liu

Abstract

In this paper, we first provide a new perspective to divide existing high performance object detection methods into direct and indirect regressions. Direct regression performs boundary regression by predicting the offsets from a given point, while indirect regression predicts the offsets from some bounding box proposals. In the context of multi-oriented scene text detection, we analyze the drawbacks of indirect regression, which covers the state-of-the-art detection structures Faster-RCNN and SSD as instances, and point out the potential superiority of direct regression. To verify this point of view, we propose a deep direct regression based method for multi-oriented scene text detection. Our detection framework is simple and effective with a fully convolutional network and one-step post processing. The fully convolutional network is optimized in an end-to-end way and has bi-task outputs where one is pixel-wise classification between text and non-text, and the other is direct regression to determine the vertex coordinates of quadrilateral text boundaries. The proposed method is particularly beneficial to localize incidental scene texts. On the ICDAR2015 Incidental Scene Text benchmark, our method achieves the F-measure of 81%, which is a new state-of-the-art and significantly outperforms previous approaches. On other standard datasets with focused scene texts, our method also reaches the state-of-the-art performance.

Introduction

Scene text detection is a critical component of many computer vision systems, yet it remains challenging due to the extreme variations in text orientation, scale, and aspect ratio. Traditional high-performance object detection frameworks like Faster R-CNN and SSD rely on Indirect Regression. These methods use "anchors"—predefined rectangular boxes—and train the model to predict offsets from these anchors to the ground truth.

This paper argues that the anchor-based paradigm is fundamentally ill-suited for multi-oriented scene text. Instead, the authors propose a Deep Direct Regression framework that predicts the four vertices of a text quadrilateral directly from individual pixels, bypassing the need for anchor boxes entirely.

The Problem with Indirect Regression: The Anchor Trap

Generic object detection frameworks struggle with multi-oriented text because they rely on axis-aligned anchors. For a long, tilted text line, there is often no standard anchor that meets the required overlap threshold (typically 0.5 IoU) to be considered a positive sample during training. This "anchor trap" makes it difficult for indirect methods to learn robust features for incidental text.

The Anchor Trap: Tilted text lines often fail to overlap sufficiently with standard axis-aligned anchors, leading to missed detections.

As illustrated above, even with multiple anchors of different scales and aspect ratios (red, blue, and green dashed boxes), none effectively capture the tilted yellow ground truth. Direct regression solves this by treating every pixel inside the text as a potential predictor, allowing the model to naturally handle any orientation.

Methodology

The proposed method is built upon a Fully Convolutional Network (FCN) designed for end-to-end optimization. The pipeline consists of four primary stages: convolutional feature extraction, multi-level feature fusion, multi-task learning, and post-processing.

The Deep Direct Regression pipeline, featuring multi-level feature fusion and multi-task learning heads.

Multi-task Learning

The network features two output heads:

  1. Classification: A pixel-wise map determining if a point belongs to a text region. A "NOT CARE" buffer zone is used around text boundaries to reduce label noise.
  2. Regression: For every pixel identified as text, the model predicts 8 values—the $(x, y)$ offsets to the four vertices of the bounding quadrilateral.

To stabilize training across varying text scales, the authors implement a Scale & Shift module that normalizes the regression targets using a sigmoid-based function.

Recalled Non-Maximum Suppression (R-NMS)

Standard NMS often struggles when text instances are very close together, potentially suppressing true positives. The authors introduce Recalled NMS, which adds a "recall" step: if a high-scoring quadrilateral was suppressed by a neighbor, the algorithm checks if it can be merged or recalled based on its closeness and confidence, preventing the loss of detections in crowded scenes.

Key Results

The model was evaluated on three major benchmarks, demonstrating significant improvements over existing methods:

  • ICDAR2015 Incidental Scene Text: Achieved a new state-of-the-art 81% F-measure, a massive jump over the previous best of 71%.
  • MSRA-TD500: Reached an F-measure of 0.74, proving effectiveness on multi-lingual and line-level detection.
  • ICDAR2013 Focused Scene Text: Maintained state-of-the-art performance even on horizontal, well-captured text.
  • Efficiency: The method is competitively fast, processing images in approximately 0.9 seconds on a Titan X GPU.

Conclusion

By shifting from anchor-based indirect regression to a pixel-based direct regression approach, this work simplifies the scene text detection pipeline while significantly improving accuracy on complex, multi-oriented text. The Deep Direct Regression framework demonstrates that for irregular objects like text, predicting boundaries directly is both more efficient and more robust than relying on traditional bounding box proposals.

Summary updated

BibTeX
@inproceedings{he2017deep,
  author = {Wenhao He and Xu-Yao Zhang and Fei Yin and Cheng-Lin Liu},
  title = {{Deep Direct Regression for Multi-oriented Scene Text Detection}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2017},
  url = {https://openreview.net/forum?id=H14UcZfO-B},
}
Figure