NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Edge Approximation Text Detector

Bingxuan Zhao(赵炳轩), Chuang Yang, Xu Han, Tao Han, Bingxuan Zhao, Qi Wang

TL;DR

EdgeText is a novel scene text detection framework that moves away from traditional "box-to-polygon" or "piecewise fitting" strategies. By treating irregular text as a "ribbon" bounded by two continuous mathematical curves, it achieves state-of-the-art accuracy and high efficiency through parallel contour reconstruction and a specialized scale-invariant loss function.

What Problem Does This Paper Address?

Detecting text in the wild is notoriously difficult because text often appears in irregular, curved, or "ribbon-like" shapes. Current state-of-the-art (SOTA) methods generally fall into two camps:

  1. Box-to-Polygon: These start with a rectangular box and warp it. While fast, they often produce "loose" fits that include background noise, which hampers downstream text recognition.
  2. Piecewise Fitting: These break the text contour into many small segments. While accurate, the reconstruction process is computationally expensive and complex to optimize.

The authors of EdgeText identify a middle ground: the long edges of most text instances are essentially smooth, continuous curves. The gap they address is how to represent these shapes compactly and continuously without the overhead of piecewise methods or the inaccuracy of simple polygons.

Methods

The core of the paper is the Edge Approximation representation. Instead of predicting a list of points, the model predicts the parameters of a mathematical function (specifically, polynomials) that describe the top and bottom edges of a text instance.

Key components include:

  • The Curve Box: A text instance is defined by two curve functions ($f(x)$ and $g(x)$) and four truncation points (start and end points for each curve). This allows for a "curve box" that fits tightly to irregular text.
  • Bilateral Enhanced Perception (BEP) Module: This module refines multi-scale features to specifically focus on edge shapes. It uses Gaussian truncated edge segments as supervision to "teach" the model what a text boundary looks like.
  • Proportional Integral Loss (PI-loss): Standard losses often struggle with varying text scales. PI-loss calculates the integral of the difference between the predicted and ground-truth curves. By operating on the distribution of the curve rather than discrete points, it helps the model remain robust across different text sizes.
  • Parallel Reconstruction: Unlike piecewise methods that reconstruct text one segment at a time, EdgeText uses matrix manipulations to rebuild all text contours in an image simultaneously, significantly boosting inference speed.

Datasets

The authors evaluated EdgeText on four major benchmarks that cover both regular and irregular text:

  • MSRA-TD500 & ICDAR2015: Focused on multi-oriented, relatively straight (regular) text.
  • Total-Text & CTW1500: The primary benchmarks for curved and irregular (ribbon-like) scene text.

Key Insights and Ideas

  • Text as a Ribbon: The fundamental "aha moment" is realizing that scene text contours are almost always composed of two long, smooth curves. Modeling these as continuous functions is inherently more efficient than using a collection of discrete points.
  • Scale Invariance via Calculus: By using an integral-based loss (PI-loss), the authors effectively normalize the learning process. The model learns the shape of the curve regardless of whether the text is 20 pixels or 200 pixels long.
  • Efficiency through Parallelism: Because the representation is mathematical, the entire reconstruction process (scaling, rotating, and translating the "curve box") can be handled as a single parallel matrix operation during inference, avoiding the "looping" bottlenecks of previous methods.

Key Results

EdgeText demonstrates a superior balance between speed and accuracy:

  • Accuracy: It achieved an H-mean of 90.1% on MSRA-TD500, outperforming the previous SOTA (LeafText) by 2.3%. On the irregular Total-Text dataset, it reached 87.6%, surpassing several complex piecewise and segmentation-based models.
  • Efficiency: In terms of Frames Per Second (FPS), EdgeText sits comfortably in the "high efficiency" zone of the accuracy-speed trade-off curve, maintaining competitive speeds (around 20-30 FPS depending on the dataset) while delivering higher precision than faster but less accurate models like EAST.
  • Qualitative Fit: Visualizations show that EdgeText produces much tighter, more "natural" contours for curved text compared to traditional polygon methods, which often look jagged or over-extended.

Limitations and Future Work

The authors note a slight performance dip on the ICDAR2015 dataset compared to some specialized models (like DeepSolo). They attribute this to their "concentric mask" strategy, which can struggle to generate enough pixel-level positive samples for very small, low-resolution text instances.

Future work may involve refining the text center-line detection to better handle these tiny instances or exploring different types of curve functions (like Bezier curves) that might offer even more flexibility than standard polynomials.

Summary updated

BibTeX
@article{zhao2025edge,
  author = {Bingxuan Zhao(赵炳轩) and Chuang Yang and Xu Han and Tao Han and Han Han and Bingxuan Zhao and Qi Wang},
  title = {{Edge Approximation Text Detector}},
  journal = {IEEE TCSVT},
  year = {2025},
  doi = {10.1109/tcsvt.2025.3558634},
}

Loading related content...

Figure