Abstract
Detecting curved text in natural scenes is a challenging task that typically requires expensive pixel-level annotations for training. This paper presents a semi- and weakly-supervised framework designed to reduce annotation costs by leveraging a novel pseudo-labeling strategy. By combining a small fraction (10%) of fully annotated data with a large volume (90%) of cheap bounding-box annotations, the proposed "Local Strategy" achieves state-of-the-art performance. Experimental results on the CTW1500 and Total-Text datasets demonstrate that this approach can match or even exceed the performance of fully supervised models while significantly lowering the barrier to entry for building robust text detection systems.
Introduction
Scene text detection has progressed from identifying simple horizontal boxes to handling arbitrary shapes, including multi-oriented and highly curved text found on coins, logos, and artistic signage. Modern solutions often treat this as an instance segmentation problem. However, the bottleneck for these models is the data: annotating curved text with precise 14-point polygons or pixel masks is time-consuming and costly compared to drawing simple rectangular bounding boxes.
While weakly-supervised methods have been explored for horizontal text, extending them to curved text remains difficult. This research addresses the challenge by asking: can we train a model to output precise curved masks using only simple rectangular bounding boxes as the primary supervision for the majority of the training set?
Methodology
The proposed framework utilizes a baseline text detector based on the Mask R-CNN architecture. It consists of a ResNet-50 backbone for feature extraction, a Region Proposal Network (RPN), and two parallel heads: a coarse localization network for bounding box regression and a fine localization network for mask segmentation.
The core innovation lies in a recursive training process. The model is initially trained on a small subset (10%) of fully annotated data. It then generates "pseudo-masks" for the remaining 90% of weakly annotated data (horizontal boxes). The model is then retrained on the combined set. The authors compared three strategies for pseudo-label generation:
- Naive Strategy: A semi-supervised approach that accepts high-confidence mask predictions from the model on unlabeled regions.
- Filter Strategy: A weakly-supervised approach that uses ground-truth horizontal bounding boxes to filter out false positive mask predictions via Intersection over Union (IoU) thresholds.
- Local Strategy: The most effective approach, where ground-truth weak bounding boxes are directly fed into the region feature sampler. Instead of relying on the RPN to propose where text might be, this strategy forces the fine localization network to focus exclusively on predicting the curved mask within a known, accurate region.
Experiments and Results
The framework was evaluated on two major curved text benchmarks: CTW1500 (text-line level annotations) and Total-Text (word-level annotations). To simulate a low-resource environment, these datasets were split into 10% fully supervised and 90% weakly supervised portions.
The "Local Strategy" consistently outperformed the Naive and Filter strategies. As shown in the training progression, the Local Strategy avoids the early saturation seen in other methods by anchoring predictions to ground-truth boxes, allowing the model to refine its segmentation capabilities over multiple rounds.
Key results include:
- CTW1500: The model achieved a 76.0% F-measure, surpassing the fully-supervised TextSnake model (75.6%).
- Total-Text: The model reached a 79.4% F-measure, coming within 2% of the fully-supervised FTSN (81.3%).
- Cross-Dataset Generalization: A model trained on CTW1500 was used to generate pseudo-labels for Total-Text, achieving a 78.1% F-measure after fine-tuning, demonstrating the practical utility of the method for bootstrapping new datasets.
Discussion and Key Insights
The success of the Local Strategy highlights that bounding boxes are excellent priors for complex masks. Even a lightly trained segmentation head can accurately deduce curved shapes if the search space is constrained to a ground-truth bounding box. Recursive training is highly effective but requires this grounding to prevent the model from reinforcing its own noise. Furthermore, the cross-domain results suggest that the features learned for curved text segmentation are robust enough to be transferred across different annotation styles (e.g., from lines to words).
Conclusion and Future Work
This paper demonstrates that high-quality curved text detection does not strictly require massive pixel-level datasets. By intelligently using cheap bounding box annotations, researchers can achieve competitive results with a fraction of the manual labor. While the current method still requires a 10% fully-supervised "seed" dataset, future work will focus on reducing this dependency further by incorporating advanced weakly-supervised object detection techniques to potentially eliminate the need for initial pixel-level data.
Summary updated