Adaptive Boundary Proposal Network for Arbitrary Shape Text Detection

Shi-Xue Zhang, Xiaobin Zhu, Chun Yang, Hongfa Wang, Xu-Cheng Yin

Abstract

The Adaptive Boundary Proposal Network (TextBPN) is an end-to-end framework designed for detecting scene text of arbitrary shapes. By conceptualizing text detection as an iterative boundary refinement process, TextBPN employs a novel Adaptive Boundary Deformation Model that combines Graph Convolutional Networks (GCNs) and Recurrent Neural Networks (RNNs). This hybrid approach captures both global geometric topology and local sequential flow, allowing the model to "shrink-wrap" coarse proposals into precise boundaries. Evaluated on benchmarks like Total-Text and CTW-1500, TextBPN achieves state-of-the-art performance with high efficiency, effectively addressing the challenges of overlapping and highly irregular text instances.

Introduction

Detecting text in natural scenes is a fundamental challenge in computer vision due to the extreme variability in text shapes, including curved, tilted, and perspective-distorted instances. Existing methodologies typically fall into two categories: segmentation-based and regression-based. Segmentation-based methods often struggle with separating adjacent text instances and require complex post-processing to produce smooth boundaries. Conversely, regression-based methods, while efficient, frequently fail to accurately capture highly irregular or elongated curved shapes.

Overview of the TextBPN framework showing the transition from a coarse boundary proposal to a refined text boundary through iterative deformation.

TextBPN bridges this gap by introducing an adaptive boundary proposal mechanism. Instead of predicting pixel-wise masks or fixed coordinates, the network generates a coarse initial boundary and iteratively deforms it to fit the text contour. This approach ensures closed, smooth boundaries while naturally maintaining separation between neighboring text instances.

Methodology

The TextBPN architecture consists of two primary components: the Boundary Proposal Model and the Adaptive Boundary Deformation Model.

Boundary Proposal Model

Utilizing a ResNet-50 backbone, this stage generates "priors" that guide the detection process. The model produces classification maps (text vs. background), distance fields (proximity to boundaries), and direction fields (orientation toward boundaries). These priors are used to generate "slim" initial boundary proposals. By starting with a proposal slightly smaller than the actual text, the system significantly reduces the likelihood of merging adjacent text instances—a common failure mode in segmentation-based approaches.

Adaptive Boundary Deformation Model

The core innovation of TextBPN lies in its deformation engine. The coarse boundary is treated as a set of vertices, which are then refined through an encoder-decoder structure.

Detailed architecture of TextBPN, highlighting the Boundary Proposal Model and the hybrid GCN/RNN Adaptive Deformation Model.
  • Hybrid Encoder: To capture the full complexity of text boundaries, the encoder combines Graph Convolutional Networks (GCNs) and Bidirectional Long Short-Term Memory (B-LSTM) networks. While the GCN models the global spatial topology of the vertices, the B-LSTM captures the local sequential flow.
  • Iterative Refinement: The model performs iterative deformation, typically over three passes, progressively "tightening" the vertices around the text. This iterative process allows for high precision even with irregular shapes.

Experimental Results

TextBPN was evaluated on several challenging benchmarks for irregular text detection, demonstrating superior performance over existing state-of-the-art methods.

  • Total-Text: The model achieved an F-measure of 87.85%, a significant improvement over previous benchmarks like TextSnake (78.4%) and DB (84.7%).
  • CTW-1500: TextBPN reached an F-measure of 85.00%, setting a new standard for long, curved text lines.
  • Efficiency: Despite its iterative nature, the framework maintains an inference speed of approximately 10-15 FPS on standard hardware, making it viable for practical applications.

Ablation studies confirmed that the combination of GCN and RNN features is critical, providing a nearly 1% boost in F-measure compared to using either component in isolation.

Conclusion

TextBPN introduces a robust and efficient approach to arbitrary shape text detection by treating boundaries as deformable polygons. By leveraging the complementary strengths of GCNs and RNNs, the model effectively captures the geometric and sequential properties of text. While highly effective, current limitations include a fixed vertex density (N=20) which may struggle with extremely complex shapes. Future work will focus on increasing inference speeds for real-time applications and exploring the integration of text recognition for a fully end-to-end scene text spotting system.

Summary updated

BibTeX
@inproceedings{zhang2021adaptive,
  author = {Shi-Xue Zhang and Xiaobin Zhu and Chun Yang and Hongfa Wang and Xu-Cheng Yin},
  title = {{Adaptive Boundary Proposal Network for Arbitrary Shape Text Detection}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2021},
  doi = {10.1109/iccv48922.2021.00134},
}
Figure