[Paper Review] Fourier Contour Embedding for Arbitrary-Shaped Text Detection
The paper introduces Fourier Contour Embedding (FCE) to represent arbitrary-shaped text contours as compact Fourier signatures and builds FCENet that predicts these signatures and reconstructs contours via Inverse Fourier Transform for end-to-end arbitrary-shaped text detection.
One of the main challenges for arbitrary-shaped text detection is to design a good text instance representation that allows networks to learn diverse text geometry variances. Most of existing methods model text instances in image spatial domain via masks or contour point sequences in the Cartesian or the polar coordinate system. However, the mask representation might lead to expensive post-processing, while the point sequence one may have limited capability to model texts with highly-curved shapes. To tackle these problems, we model text instances in the Fourier domain and propose one novel Fourier Contour Embedding (FCE) method to represent arbitrary shaped text contours as compact signatures. We further construct FCENet with a backbone, feature pyramid networks (FPN) and a simple post-processing with the Inverse Fourier Transformation (IFT) and Non-Maximum Suppression (NMS). Different from previous methods, FCENet first predicts compact Fourier signatures of text instances, and then reconstructs text contours via IFT and NMS during test. Extensive experiments demonstrate that FCE is accurate and robust to fit contours of scene texts even with highly-curved shapes, and also validate the effectiveness and the good generalization of FCENet for arbitrary-shaped text detection. Furthermore, experimental results show that our FCENet is superior to the state-of-the-art (SOTA) methods on CTW1500 and Total-Text, especially on challenging highly-curved text subset.
Motivation & Objective
- Address the challenge of representing highly curved text shapes in arbitrary-shaped text detection.
- Propose a compact, flexible contour representation that generalizes across datasets with varying ground-truth point counts.
- Enable end-to-end trainable detection by predicting Fourier signatures and reconstructing contours during inference.
- Demonstrate state-of-the-art or competitive results on curved-text benchmarks CTW1500 and Total-Text.
Proposed method
- Represent text contours in the Fourier domain using complex-valued functions and a fixed number of low-frequency components (K).
- Resample contour points to a fixed N (e.g., N=400) with a unique starting point, clockwise sampling, and uniform speed to obtain stable Fourier signatures.
- Embed resampled contour points into Fourier coefficients c_k via discrete Fourier Transform, forming a compact Fourier signature vector [c_{-K}, ..., c_{K}].
- Train FCENet with a ResNet50-DCN backbone and FPN, predicting per-pixel Text Region (TR) and Text Center Region (TCR) masks and the Fourier signature vectors; reconstruct contours with Inverse Fourier Transform (IFT) and NMS during inference.
- Loss combines classification (TR and TCR) with a regression term that minimizes the L1 difference between reconstructed ground-truth contours and predicted contours after applying IFT (Equation 6).
- Acceptance of different datasets is facilitated by the fixed resampling, making Fourier coefficients comparable across CTW1500, Total-Text, etc.
Experimental results
Research questions
- RQ1Can a Fourier-domain contour representation provide a compact, flexible description of arbitrary-shaped texts without heavy post-processing?
- RQ2Does predicting Fourier signatures end-to-end lead to accurate contour reconstruction via IFT for highly curved texts?
- RQ3How does FCENet compare to state-of-the-art methods on curved-text benchmarks (CTW1500, Total-Text) and multi-orientation datasets (ICDAR2015)?
- RQ4What is the impact of components like Text Center Region loss and the proposed regression loss on overall performance?
Key findings
- FCE can approximate arbitrary closed contours with a small number of low-frequency components (K=5 often suffices).
- FCENet achieves competitive to state-of-the-art results on CTW1500 and Total-Text, with strong performance on highly-curved text subsets.
- In ablations, the Text Center Region loss and the proposed contour-based regression loss substantially improve results (notably on CTW1500 and Total-Text).
- FCENet maintains robust performance with reduced training data, indicating good generalization.
- FCENet achieves 83.4% R, 87.6% P, 85.5% F on CTW1500 and 82.5% R, 89.3% P, 85.8% F on Total-Text when using FCENet without extra data, and 83.4/87.6/85.5 for CTW1500 with the enhanced setup; FCENet† (with a larger backbone) reaches 80.7/85.7/83.1 on CTW1500 and 79.8/87.4/83.4 on Total-Text under a baseline setting, per Table 1.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.