Pixel-Anchor: A Fast Oriented Scene Text Detector with Combined Networks

Yuan Li, Yuanjie Yu, Zefeng Li, Yangkun Lin, Meifang Xu, Jiwei Li, Xi ZhouarXiv 2018

Abstract

Detecting text in natural scenes remains a significant challenge due to extreme variations in orientation, scale, and aspect ratio. This paper introduces Pixel-Anchor, a novel end-to-end framework that hybridizes pixel-level semantic segmentation with anchor-based object detection. By utilizing a shared ResNet-50 backbone and a specialized anchor-level attention mechanism, the system overcomes the limitations of standalone approaches, such as the "anchor matching dilemma" and receptive field constraints. Pixel-Anchor achieves a state-of-the-art F-score of 0.8768 on the ICDAR 2015 benchmark and maintains a near-real-time processing speed of 10 FPS.

Introduction: The Dual-Paradigm Challenge

Existing scene text detection methods generally follow one of two paradigms, each possessing inherent weaknesses.

  1. Pixel-based methods (Segmentation): These methods are highly effective at capturing precise boundaries. However, they often suffer from low recall on small text instances where features are sparse. Furthermore, they struggle with exceptionally long text lines that exceed the network's effective receptive field.
Pixel-based methods utilize direct regression or link-based strategies to define text boundaries.
  1. Anchor-based methods (Object Detection): While robust to scale variations, these methods face the "Anchor Matching Dilemma." In scenarios where tilted text lines are densely packed, a standard horizontal anchor may have nearly identical Intersection over Union (IoU) overlap with multiple text instances, making it difficult for the network to distinguish between them.
Anchor-based methods rely on predefined boxes to regress text locations but struggle with dense, tilted text.

Pixel-Anchor bridges this gap by using the strengths of one module to compensate for the weaknesses of the other.

The Pixel-Anchor Framework

The architecture consists of two primary modules sharing a ResNet-50 backbone, integrated through a novel attention mechanism.

Pixel-based Module with ASPP

This module employs a Feature Pyramid Network (FPN) enhanced by Atrous Spatial Pyramid Pooling (ASPP). ASPP utilizes dilated convolutions to capture a massive receptive field without sacrificing spatial resolution. It outputs both a rotated bounding box (RBox) and a segmentation heat map, providing the fine-grained spatial detail necessary to separate close-proximity text instances.

Anchor-based Module with APL

Based on the Single Shot MultiBox Detector (SSD), this module introduces an Adaptive Predictor Layer (APL). Unlike standard $3 \times 3$ filters, the APL uses specialized kernels (e.g., $1 \times n$ for horizontal text or $n \times 1$ for vertical text) to better accommodate the geometric variety of natural text.

Anchor-level Attention and Fusion

The "secret sauce" of the framework is the anchor-level attention mechanism. The segmentation heat map from the pixel module is converted into an attention mask and multiplied with the anchor module's features. This directs the anchor detector to focus on areas with high text probability, effectively filtering out background noise. During inference, a cascaded Non-Maximum Suppression (NMS) merges boxes from both modules, prioritizing anchor-based results for small or long text and pixel-based results for medium-sized text.

Experimental Evaluation

The model was rigorously tested on standard benchmarks including ICDAR 2015, ICDAR 2017 MLT, and a custom "Poster Dataset" designed to test extreme aspect ratios (> 1:30).

  • ICDAR 2015: Pixel-Anchor achieved an F-score of 0.8768, the best reported single-scale result at the time of publication (among methods not using extra recognition supervision).
  • Efficiency: The system processes high-resolution images ($960 \times 1728$) at 10 FPS on an Nvidia Titan X.
  • Robustness: In controlled tests, the hybrid approach outperformed standalone versions of either module, particularly on small text and exceptionally long Chinese text lines where traditional methods like EAST often fail.

Conclusion

Pixel-Anchor demonstrates that the synergy between segmentation and detection paradigms can significantly enhance scene text detection. By treating segmentation as a high-level attention mechanism and employing adaptive predictor layers, the framework effectively handles the complexities of orientation and aspect ratio that plague modern scene text detection.

Summary updated

BibTeX
@misc{li2018pixel,
  author = {Yuan Li and Yuanjie Yu and Zefeng Li and Yangkun Lin and Meifang Xu and Jiwei Li and Xi Zhou},
  title = {{Pixel-Anchor: A Fast Oriented Scene Text Detector with Combined Networks}},
  year = {2018},
  eprint = {1811.07432},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1811.07432},
}
Figure