Progressive Contour Regression for Arbitrary-Shape Scene Text Detection

Pengwen Dai, Sanyi Zhang, Hua Zhang, Xiaochun Cao

Introduction

Scene text detection has evolved significantly, yet detecting arbitrary-shape text—curved, wavy, or extremely long—remains a formidable challenge. Existing approaches typically fall into two categories: segmentation-based (bottom-up) and regression-based (top-down). While segmentation offers flexibility, it often requires complex post-processing to group pixels. Conversely, traditional regression methods often struggle with curved geometries due to their reliance on pre-defined anchors or single-shot predictions that fail to capture intricate contours.

Progressive Contour Regression (PCR) addresses these limitations by introducing a top-down, anchor-free framework that evolves a simple horizontal proposal into a precise, multi-point contour through iterative refinement.

The Progressive Evolution Framework

PCR operates on a "coarse-to-fine" philosophy, breaking down the complex task of arbitrary-shape detection into three manageable stages:

  1. Horizontal Proposal Generation: The model predicts the center and size of an axis-aligned bounding box. This stage provides a rough initial localization without the need for anchors.
  2. Oriented Proposal Generation: The initial horizontal box is refined into an oriented box by regressing its four corner points. This step significantly reduces the search space for final contour fitting.
  3. Arbitrary-shape Contour Evolution: The oriented box is iteratively transformed into a multi-point polygon (typically 14 or more points) that tightly conforms to the text's actual shape.
The three-stage progressive evolution of a text proposal from a simple box to a complex contour.

Key Technical Innovations

The core of PCR's success lies in two specialized modules designed to handle the unique topology of text contours:

Contour Information Aggregation (CIA)

Recognizing that a text contour is essentially a closed loop, PCR utilizes circular convolutions to model the relationships between boundary points. The CIA module incorporates "sink nodes"—global and local hubs that aggregate features across the entire contour. This allows the model to filter out noise and redundant points, ensuring a smooth and accurate fit.

Reliable Contour Localization Mechanism (RCLM)

A common failure mode in curved text detection is the "center point problem," where the geometric center of a bounding box falls outside the actual text area (e.g., in C-shaped text). PCR overcomes this by using the RCLM to rescore detections based on features sampled from multiple points along the localized boundary, rather than relying solely on a single center point.

The PCR architecture, highlighting the Horizontal, Oriented, and Arbitrary-shape generation stages along with the CLM and RCLM modules.

Experimental Results

PCR was evaluated against several challenging benchmarks, demonstrating state-of-the-art performance:

  • CTW1500: On this dataset focused on long, curved text, PCR achieved an 84.7% F-measure, significantly outperforming previous regression-based methods like TextRay.
  • TD500: For multi-oriented, long-line text, the model reached an 87.0% F-measure.
  • Efficiency: Despite its iterative nature, PCR maintains a practical inference speed of approximately 11-12 FPS on standard hardware.

Qualitatively, the model excels at "hugging" the boundaries of highly curved text, avoiding the overlaps and background noise that often plague traditional bounding-box detectors.

Conclusion

Progressive Contour Regression offers a robust solution for arbitrary-shape scene text detection by combining the strengths of top-down regression with iterative, topology-aware refinement. By moving beyond simple anchors and center-point scoring, PCR achieves high-precision localization for complex text geometries. Future work may involve integrating this detection framework with recognition modules to create a complete, end-to-end text spotting system.

Summary updated

BibTeX
@inproceedings{dai2021progressive,
  author = {Pengwen Dai and Sanyi Zhang and Hua Zhang and Xiaochun Cao},
  title = {{Progressive Contour Regression for Arbitrary-Shape Scene Text Detection}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.1109/cvpr46437.2021.00731},
}
Figure