Abstract: Traditional Region Proposal Networks (RPNs) rely on dense, predefined anchor grids, which are computationally expensive and ill-suited for the extreme aspect ratios and arbitrary orientations of scene text. This paper introduces the Anchor Selection-based Region Proposal Network (AS-RPN), which learns to predict anchor locations, shapes, and orientations dynamically. By filtering out background regions and utilizing deformable convolutions for feature alignment, AS-RPN reduces the number of required anchors by over 90% while achieving state-of-the-art performance on benchmarks like ICDAR2015 and MSRA-TD500.
Introduction
Detecting text in natural scenes is a fundamental task in computer vision with applications ranging from autonomous driving to document analysis. Unlike general object detection, scene text presents unique challenges: it can be exceptionally long, thin, and oriented at any angle. Standard detectors typically employ a "dense anchoring" strategy, tiling the image with thousands of fixed boxes. However, this approach is inefficient for text, as most anchors cover background, leading to high computational overhead in the searching, regression, and classification stages.
The AS-RPN Framework
The proposed AS-RPN replaces fixed anchor grids with a learnable selection mechanism integrated into a Faster R-CNN framework. As shown in the architecture diagram, the network processes features from a Feature Pyramid Network (FPN) through three specialized branches within the Anchor Selection Network:
- Anchor Location Branch: Generates a probability map to identify potential text centers. By applying a threshold, the network filters out background regions, keeping the anchor distribution sparse.
- Anchor Orientation Branch: Predicts the rotation angle ($\theta$) to accommodate multi-oriented text.
- Anchor Shape Branch: Dynamically estimates the optimal width ($w$) and height ($h$) for each anchor.
To ensure the extracted features align with these dynamic anchors, the system employs Deformable Convolutions. This allows the receptive field to adapt to the predicted shape and orientation, ensuring that classification and refinement are based on relevant pixels regardless of the text's aspect ratio.
Anchor Geometry and Representation
The model represents text regions using rotated rectangles defined by five parameters: center coordinates $(x, y)$, width $w$, height $h$, and orientation angle $ heta$. This flexible representation is crucial for handling the diverse layouts found in datasets like MSRA-TD500 and ICDAR2015.
As illustrated above, the orientation angle $\theta$ is a critical parameter. The authors note that for text with high aspect ratios (e.g., 5:1), even a small error in the predicted angle can cause the Intersection over Union (IoU) to drop drastically, which remains a primary challenge for the model.
Key Results and Efficiency
The AS-RPN demonstrates significant gains in both efficiency and accuracy across major benchmarks:
- Efficiency: On the MSRA-TD500 dataset, the model reduced the number of anchors per image from approximately 100,000 to just 6,800—a 93.7% reduction—without sacrificing recall.
- Accuracy: On the ICDAR2015 dataset, the model achieved an F-measure of 90.62% (90.19% Precision, 91.16% Recall), outperforming contemporary models like CTPN and RRPN.
- Robustness: The model showed a significant performance boost (nearly 20% in F-measure) when using data augmentation (random rotations), proving its ability to generalize to arbitrary text orientations.
Conclusion
AS-RPN provides a robust and efficient solution for scene text detection by making anchor properties learnable. By moving away from dense, fixed grids toward a sparse, adaptive selection process, the method significantly lightens the computational load for subsequent stages like Non-Maximum Suppression (NMS). Future work may involve refining the angle prediction branch or integrating AS-RPN into end-to-end spotting networks that combine detection and recognition.
Summary updated