Multi-Granularity Prediction for Scene Text Recognition

Peng Wang, Cheng Da, Cong Yao
9/8/2022
cs.CV

Official code: AlibabaResearch/AdvancedLiterateMachinery (1,834 stars, Apache-2.0, last commit 2026-03-17).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

A collection of original, innovative ideas and algorithms towards Advanced Literate Machinery. This project is maintained by the OCR Team in the Language Technology Lab, Tongyi Lab, Alibaba Group.

1,834195C, C++Sep 28, 20227 months agoApache-2.0
artificial-intelligencecomputer-visiondocumentdocument-analysisdocument-intelligence+15 more

Similar Papers

Cite this paper

@article{wang2022multigranularity,
  title  = {Multi-Granularity Prediction for Scene Text Recognition},
  author = {Peng Wang and Cheng Da and Cong Yao},
  year   = {2022},
  eprint = {2209.03592},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.03592}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2209.03592.svg)](https://codeofpaper.com/paper/2209.03592)

Discussion