MASTER: Multi-Aspect Non-local Network for Scene Text Recognition

Ning Lu, Wenwen Yu, Xianbiao Qi, Yihao Chen, Ping Gong +2 more
10/7/2019
cs.CV

Official code: wenwenyu/MASTER-pytorch (281 stars, MIT, last commit 2021-12-26). 1 more implementation below.

Abstract

Attention-based scene text recognizers have gained huge success, which leverages a more compact intermediate representation to learn 1d- or 2d- attention by a RNN-based encoder-decoder architecture. However, such methods suffer from attention-drift problem because high similarity among encoded features leads to attention confusion under the RNN-based local attention mechanism. Moreover, RNN-based methods have low efficiency due to poor parallelization. To overcome these problems, we propose the MASTER, a self-attention based scene text recognizer that (1) not only encodes the input-output attention but also learns self-attention which encodes feature-feature and target-target relationships inside the encoder and decoder and (2) learns a more powerful and robust intermediate representation to spatial distortion, and (3) owns a great training efficiency because of high training parallelization and a high-speed inference because of an efficient memory-cache mechanism. Extensive experiments on various benchmarks demonstrate the superior performance of our MASTER on both regular and irregular scene text. Pytorch code can be found at https://github.com/wenwenyu/MASTER-pytorch, and Tensorflow code can be found at https://github.com/jiangxiluning/MASTER-TF.

View on arXivView PDF

Code Implementations(2)

MIT

Code for the paper "MASTER: Multi-Aspect Non-local Network for Scene Text Recognition" (Pattern Recognition 2021)

28154Shell, PythonMar 31, 20214 years agoMIT
non-local-networkocrscene-text-recognitionself-attentiontransformer
MIT

MASTER

14043PythonJul 5, 20203 years agoMIT
cvdeep-learningocrocr-recognitionscene-text-recognition+1 more

Similar Papers

Cite this paper

@article{lu2019master,
  title  = {MASTER: Multi-Aspect Non-local Network for Scene Text Recognition},
  author = {Ning Lu and Wenwen Yu and Xianbiao Qi and Yihao Chen and Ping Gong and Rong Xiao and Xiang Bai},
  year   = {2019},
  eprint = {1910.02562},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1910.02562}
}

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/1910.02562.svg)](https://codeofpaper.com/paper/1910.02562)

Discussion