BiP-Net: Bidirectional Perspective Strategy Based Arbitrary-Shaped Text Detection Network

Chuang Yang, Mulin Chen, Yuan Yuan, Qi Wang · DOI

TL;DR

This paper introduces BiP-Net, a novel framework for detecting arbitrarily shaped text in images. It combines a new top-down perspective text representation that effectively handles curved text with a bottom-up contour connecting algorithm to prevent information loss, achieving a good balance between accuracy and speed.

What Problem Does This Paper Address?

Detecting text in images is a well-established computer vision task, but accurately identifying text instances with irregular or highly curved shapes remains a significant challenge. Existing methods fall into two main categories: top-down approaches that treat text as a single unit but struggle with complex curves, and bottom-up methods that break text into smaller parts but often suffer from slow processing speeds due to complex networks and post-processing steps. This paper aims to bridge this gap by proposing a method that can accurately detect arbitrary-shaped text while maintaining high detection speed.

Methods

The core innovation of BiP-Net lies in its Bidirectional Perspective strategy. This strategy has two key components:

  • Top-Down Perspective Text Representation: Instead of relying on simple contour points, BiP-Net represents text contours using multiple "ray clusters." Each cluster consists of a center point and several rays emanating outwards at different angles. By sampling contour points along these rays, the method can more effectively capture the nuances of highly curved text. This is a departure from prior top-down methods that might sample points in a single direction, leading to inaccuracies for curves.
  • Bottom-Up Contour Connecting (CC) Algorithm: To address potential information loss between the piecewise contours generated by the top-down representation, a CC algorithm is introduced. This algorithm works from a bottom-up perspective to identify and connect "interval regions" between adjacent piecewise contours. This ensures the integrity of the reconstructed text shape, especially for complex curves.

The overall architecture is a single-shot, anchor-free detector built upon a ResNet backbone and Feature Pyramid Network (FPN) for feature extraction. The network predicts center points and ray distances, which are then used in the post-processing steps involving the CC algorithm to generate the final text detection results.

Datasets

The paper evaluates BiP-Net on three publicly available scene text detection datasets:

  • MSRA-TD500: Known for containing long, multi-lingual text instances.
  • CTW1500: Specifically designed to include curved text instances.
  • ICDAR2015: Features multi-oriented text instances in complex backgrounds.

The SynthText dataset is used for pre-training the model.

Key Insights and Ideas

  • Ray Clusters for Curves: The idea of using ray clusters to represent text contours is a clever way to adapt to arbitrary shapes. By sampling points in multiple directions from a central point, the representation becomes more robust to curvature than methods that rely on a single directional sampling.
  • Bridging Top-Down and Bottom-Up: The bidirectional approach is crucial. The top-down representation handles the initial shape fitting, while the bottom-up CC algorithm acts as a crucial post-processing step to ensure completeness and accuracy, particularly for the challenging curved regions.
  • Efficiency through Representation: The paper suggests that their novel representation strategy contributes to the overall efficiency, as the post-processing (CC algorithm) takes a relatively small portion of the total processing time.

Key Results

BiP-Net demonstrates strong performance across the evaluated datasets:

  • MSRA-TD500: Achieves an F-measure of 86.4% and a speed of 30.7 FPS, outperforming previous methods in accuracy and significantly improving speed compared to some.
  • CTW1500: Achieves an F-measure of 85.1% and a speed of 35.6 FPS, showing superior performance to methods like TextSnake and TextRay, and running significantly faster than ContourNet.
  • ICDAR2015: Achieves an F-measure of 83.9% and a speed of 24.8 FPS, showing improvements in both accuracy and speed over other top methods.

The authors highlight that the network's time consumption is largely dependent on input image scale, suggesting it can run faster on smaller images.

Limitations and Future Work

  • Limitations: While the paper emphasizes speed and accuracy, the exact trade-offs and performance on extremely dense or occluded text instances are not deeply explored. The paper also doesn't explicitly discuss the impact of the chosen number of ray clusters (N=5) and rays per cluster (M=8) on performance and computational cost.
  • Future Work: The authors suggest that their method achieves a good balance between accuracy and speed. Future work could explore further optimizations or extensions of the bidirectional strategy to handle even more challenging scenarios, such as very fine-grained text or text in highly cluttered environments.

Summary updated

BibTeX
@inproceedings{yang2021bip,
  author = {Chuang Yang and Mulin Chen and Yuan Yuan and Qi Wang},
  title = {{BiP-Net: Bidirectional Perspective Strategy Based Arbitrary-Shaped Text Detection Network}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2021},
  doi = {10.48550/arxiv.2104.04903},
}
Figure