Abstract
Detecting text of arbitrary shapes in natural images is a challenging task due to the limitations of traditional rectangular bounding boxes. This paper introduces an end-to-end trainable Transformer-based framework that represents text boundaries using Bezier curves. By employing a novel Split GIoU loss function and the Deformable DETR architecture, the proposed method eliminates the need for complex post-processing steps like Non-Maximum Suppression (NMS). Experimental results on major benchmarks demonstrate that this approach achieves new state-of-the-art performance for curved and irregular text detection.
Introduction
Scene text detection is foundational for applications such as autonomous navigation and live translation. While horizontal text detection is largely considered a solved problem, "arbitrary shape" text—including curved, tilted, or perspective-distorted instances—remains difficult. Current methods typically fall into segmentation-based or regression-based categories, both of which often require computationally expensive post-processing to group pixels or refine anchor boxes.
Methodology
The core of the proposed system is built upon Deformable DETR, which treats detection as a set-prediction problem. This architecture allows for a streamlined pipeline that leverages global image context through self-attention.
Boundary Representation
A key innovation is the use of Bezier Curve Representation. Instead of predicting simple box corners, the model outputs control points that define two 3rd-degree Bezier curves for the top and bottom boundaries of the text.
As illustrated in the figure above, moving from standard rectangles (a) to Bezier curves (e) allows for a much tighter and more accurate fit for curved text like "Chateau Fujisawa".
Optimization via Split GIoU
To train the model effectively, the authors introduced the Split GIoU loss. Because calculating the exact IoU between arbitrary curves is mathematically complex, the predicted region is split into multiple segments (rectangles). The Generalized IoU is then calculated for these segments, providing a differentiable and efficient loss function.
Experimental Evaluation
The model was evaluated on several key benchmarks:
- Total-Text & CTW-1500: Focused on curved and irregular text. The model achieved H-mean scores of 87.8% and 87.2% respectively, setting new state-of-the-art records.
- MSRA-TD500: Focused on multi-oriented text, where the model reached an H-mean of 86.5%.
The results indicate that parametric curves are highly efficient; a few control points can describe complex shapes that would otherwise require dense polygons, making the learning task more manageable for the Transformer.
Conclusion
By combining the global context of Transformers with the efficiency of Bezier curve representations, this framework provides a robust solution for arbitrary shape text detection. The removal of handcrafted components like NMS simplifies the detection pipeline while improving accuracy on challenging real-world datasets. Future research will focus on extending this architecture to full end-to-end text spotting.
Summary updated