Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

TPS++: Attention-Enhanced Thin-Plate Spline for Scene Text Recognition

About

Text irregularities pose significant challenges to scene text recognizers. Thin-Plate Spline (TPS)-based rectification is widely regarded as an effective means to deal with them. Currently, the calculation of TPS transformation parameters purely depends on the quality of regressed text borders. It ignores the text content and often leads to unsatisfactory rectified results for severely distorted text. In this work, we introduce TPS++, an attention-enhanced TPS transformation that incorporates the attention mechanism to text rectification for the first time. TPS++ formulates the parameter calculation as a joint process of foreground control point regression and content-based attention score estimation, which is computed by a dedicated designed gated-attention block. TPS++ builds a more flexible content-aware rectifier, generating a natural text correction that is easier to read by the subsequent recognizer. Moreover, TPS++ shares the feature backbone with the recognizer in part and implements the rectification at feature-level rather than image-level, incurring only a small overhead in terms of parameters and inference time. Experiments on public benchmarks show that TPS++ consistently improves the recognition and achieves state-of-the-art accuracy. Meanwhile, it generalizes well on different backbones and recognizers. Code is at https://github.com/simplify23/TPS_PP.

Tianlun Zheng, Zhineng Chen, Jinfeng Bai, Hongtao Xie, Yu-Gang Jiang• 2023

Related benchmarks

TaskDatasetResultRank
Scene Text RecognitionSVT (test)
Word Accuracy94.6
289
Scene Text RecognitionIIIT5K (test)
Word Accuracy96.3
244
Scene Text RecognitionIC15 (test)
Word Accuracy86.5
210
Scene Text RecognitionIC13 (test)
Word Accuracy97.8
207
Scene Text RecognitionSVTP (test)
Word Accuracy89.6
153
Scene Text RecognitionCUTE80 (test)
Accuracy0.924
87
Showing 6 of 6 rows

Other info

Code

Follow for update