Multi-Granularity Prediction for Scene Text Recognition

8 Sep 2022  ·  Peng Wang, Cheng Da, Cong Yao ·

Scene text recognition (STR) has been an active research topic in computer vision for years. To tackle this challenging problem, numerous innovative methods have been successively proposed and incorporating linguistic knowledge into STR models has recently become a prominent trend. In this work, we first draw inspiration from the recent progress in Vision Transformer (ViT) to construct a conceptually simple yet powerful vision STR model, which is built upon ViT and outperforms previous state-of-the-art models for scene text recognition, including both pure vision models and language-augmented methods. To integrate linguistic knowledge, we further propose a Multi-Granularity Prediction strategy to inject information from the language modality into the model in an implicit way, i.e. , subword representations (BPE and WordPiece) widely-used in NLP are introduced into the output space, in addition to the conventional character level representation, while no independent language model (LM) is adopted. The resultant algorithm (termed MGP-STR) is able to push the performance envelop of STR to an even higher level. Specifically, it achieves an average recognition accuracy of 93.35% on standard benchmarks. Code is available at https://github.com/AlibabaResearch/AdvancedLiterateMachinery/tree/main/OCR/MGP-STR.

PDF Abstract

Results from the Paper


 Ranked #1 on Scene Text Recognition on Uber-Text (using extra training data)

     Get a GitHub badge
Task Dataset Model Metric Name Metric Value Global Rank Uses Extra
Training Data
Result Benchmark
Scene Text Recognition COCO-Text MGP-STR 1:1 Accuracy 81.7 # 2
Scene Text Recognition CUTE80 MGP-STR Accuracy 99.31 # 3
Scene Text Recognition IC19-Art MGP-STR Accuracy (%) 85.5 # 3
Scene Text Recognition ICDAR2013 MGP-STR Accuracy 98.5 # 3
Scene Text Recognition ICDAR2015 MGP-STR Accuracy 90.9 # 4
Scene Text Recognition IIIT5k MGP-STR Accuracy 98.8 # 6
Scene Text Recognition SVT MGP-STR Accuracy 98.6 # 3
Scene Text Recognition SVTP MGP-STR Accuracy 98.3 # 2
Scene Text Recognition Uber-Text MGP-STR Accuracy (%) 91.0 # 1

Methods