Curve Text Detection with Local Segmentation Network and Curve Connection

Zhao Zhou, Shufan Wu, Shuchen Kong, Yingbin Zheng, Hao Ye, Luhui Chen, Jian PuarXiv 2019

Abstract

Curve text or arbitrary shape text is very common in real-world scenarios. In this paper, we propose a novel framework with the local segmentation network (LSN) followed by the curve connection to detect text in horizontal, oriented and curved forms. The LSN is composed of two elements, i.e., proposal generation to get the horizontal rectangle proposals with high overlap with text and text segmentation to find the arbitrary shape text region within proposals. The curve connection is then designed to connect the local mask to the detection results. We conduct experiments using the proposed framework on two real-world curve text detection datasets and demonstrate the effectiveness over previous approaches.

1. Introduction

Scene text detection has seen significant progress with the advent of deep learning, yet identifying text in arbitrary shapes—curved, oriented, or irregular—remains a formidable challenge. Traditional methods often rely on rectangular or simple oriented bounding boxes, which fail to capture the nuances of curved text found on logos, street signs, and product packaging. This paper introduces a robust two-stage framework: a Local Segmentation Network (LSN) to identify text segments and a novel Curve Connection (CC) algorithm to stitch these segments into smooth, arbitrary-shaped polygons.

2. Methodology

The proposed framework adopts a "local-to-global" strategy, breaking down the complex problem of arbitrary shape detection into manageable local tasks.

2.1 Local Segmentation Network (LSN)

Built on a ResNet-50 backbone, the LSN performs two primary tasks:

  • Proposal Generation: It generates horizontal rectangle proposals at multiple scales. These represent "local" regions likely to contain text segments.
  • Text Segmentation: For each proposal, the network uses ROI-Align to extract features and predicts a pixel-level mask. This allows for precise identification of the text's shape within the local region, rather than just a bounding box.

2.2 Curve Connection (CC)

The Curve Connection algorithm is the paper's primary innovation, designed to turn local masks into a coherent detection.

  • Mask Merging: An algorithm groups overlapping local masks based on a set threshold, effectively assembling the word from its constituent parts.
  • Polygon Generation: To create a smooth final boundary, the authors use principal curves to find the center line of the merged masks. They then generate a circumscribed polygon around this center line. This ensures the final detection follows the natural curvature of the text rather than being a jagged collection of boxes.

3. Experimental Results

The authors evaluated their framework on two major benchmarks for arbitrary-shaped text: CTW1500 and Total-Text.

Figure 1: Detection results on a curved logo from the Total-Text dataset, demonstrating the model's ability to handle circular text flow.

3.1 Performance Benchmarks

  • CTW1500: The full LSN+CC framework achieved an F-measure of 80.8%. Notably, adding the Curve Connection improved the F-measure by 8.6% over the LSN alone (72.2%), proving the connection strategy's vitality.
  • Total-Text: It achieved an F-measure of 79.5%, outperforming other high-profile models like TextSnake (78.4%) and Mask TextSpotter (61.3%).
Figure 2: Detection results on a Greek sign with curved and multi-oriented text from the CTW1500 dataset.

4. Discussion and Conclusion

The "local-to-global" approach is highly effective because while a global curved shape is difficult to predict directly, small local segments of that curve approximate standard rectangles. By solving the local problem accurately and employing a smart connection strategy, the system handles complex global shapes robustly. Future work may involve optimizing the multi-stage pipeline for real-time inference and integrating the Curve Connection as a differentiable layer for end-to-end training.

Summary updated

BibTeX
@misc{zhou2019curve,
  author = {Zhao Zhou and Shufan Wu and Shuchen Kong and Yingbin Zheng and Hao Ye and Luhui Chen and Jian Pu},
  title = {{Curve Text Detection with Local Segmentation Network and Curve Connection}},
  year = {2019},
  eprint = {1903.09837},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1903.09837},
}
Figure