TL;DR
Point2Polygon bridges the gap between cheap-to-annotate single points and highly accurate text polygons for scene text detection. By leveraging multi-granularity information from synthetic text recognition models, the proposed framework automatically evolves a single central point into a tight, compact polygon without requiring any manual polygon annotations.
What Problem Does This Paper Address?
In the world of scene text detection and spotting, text representations have evolved dramatically—progressing from simple horizontal bounding boxes to complex, arbitrarily shaped polygons capable of wrapping around curved or distorted text.
However, this precision comes at a steep price: polygonal annotation is incredibly labor-intensive and expensive, which limits the scale of available datasets. While recent weakly supervised methods use single-point annotations to drastically cut costs, points lack the spatial and boundary information required for downstream applications like scene text editing or object removal.
The authors tackle a compelling question: Can we generate precise text polygon representations using only cost-effective single-point annotations?
Methods
The authors introduce Point2Polygon, a three-step, coarse-to-fine framework that utilizes text recognition models to progressively morph a single point into a precise polygon. Crucially, the system relies entirely on synthetic data for its recognition training, requiring zero manual polygon labels.
The pipeline consists of three core modules:
- Anchor Generation Module (AGM): Given a text center point, the AGM generates a variety of preset default anchors spanning different aspect ratios and sizes. These anchors are fed into an off-the-shelf text recognition model, and the anchor yielding the highest recognition confidence is selected as the optimal starting box.
- Polygon Generation Module (PGM): To handle arbitrarily shaped text, the PGM samples points along the contours of the selected anchor. It then uses a Thin-Plate Spline (TPS) transformation to warp these points closer to the actual text boundaries. This warping process is optimized directly by minimizing recognition loss.
- Polygon Rectification Module (PRM): Polygons generated by the PGM often extend too far horizontally. The PRM fixes this by utilizing fine-grained attention maps from a sequence-to-sequence recognition model. By filtering out regions with zero attention weight, it cleanly clips away excess width, snapping the polygon tightly to the text boundaries.
Datasets
- For Recognition Training (Synthetic): Synth90k and SynthText.
- For Evaluation (Real-world Benchmarks):
- ICDAR 2015: Multi-oriented, incidental scene text.
- TotalText: Arbitrarily shaped and curved text (word-level).
- SCUT-CTW1500: Arbitrarily shaped curve text (line-level).
Key Insights and Ideas
- Recognition as a Proxy for Localization: The core "aha!" moment is that a robust text recognition model implicitly understands text boundaries. If a bounding box cuts off half a word, or includes too much background noise, the recognition confidence drops. Point2Polygon cleverly turns this implicit understanding into an explicit optimization signal.
- Multi-Granularity Supervision: The framework elegantly matches the refinement step to the granularity of the recognition signal: coarse-grained confidence scores select the initial anchor, medium-grained recognition loss shapes the contours, and fine-grained 1D attention maps trim the horizontal edges.
Key Results
The authors evaluated the quality of their generated polygons both directly and by using them as "pseudo-labels" to train standard text detectors like DBNet, PANet, and PSENet.
- Direct Accuracy: When generating polygons from ground-truth center points, the method achieved an 82.0% Hmean (accuracy) on ICDAR 2015 and 74.1% on TotalText.
- Detector Training: Standard detectors trained on Point2Polygon's generated annotations retained roughly 86% of the performance compared to the same models trained on expensive, manually annotated ground-truth polygons.
- Seamless Integration: When paired with an autonomous single-point spotter (SPTS v2) to predict the initial center points, the joint pipeline achieved a highly competitive 82.5% relative accuracy on ICDAR 2015 without any human intervention.
Limitations and Future Work
While Point2Polygon shows robust performance on horizontal and moderately tilted text, it still struggles with highly curved or distorted text layouts, where the generated polygons occasionally fail to align perfectly with the ground truth.
Additionally, the current implementation is computationally inefficient because it crops and processes multiple candidate anchors in the image space during the AGM phase. The authors note that future work will focus on performing region selection directly on the model's feature maps and exploring parallelization techniques to boost inference speeds.
Summary updated