PasreQ¶
1. Introduction¶
Paper:
Scene Text Recognition with Permuted Autoregressive Sequence Models Darwin Bautista, Rowel Atienza ECCV, 2021
Using real datasets (real) and synthetic datsets (synth) for training respectively,and evaluating on IIIT, SVT, IC03, IC13, IC15, SVTP, CUTE datasets.
- The real datasets include COCO-Text, RCTW17, Uber-Text, ArT, LSVT, MLT19, ReCTS, TextOCR and OpenVINO datasets.
- The synthesis datasets include MJSynth and SynthText datasets.
the algorithm reproduction effect is as follows:
Training Dataset | Model | Backbone | config | Acc | Download link |
---|---|---|---|---|---|
Synth | ParseQ | VIT | rec_vit_parseq.yml | 91.24% | train model |
Real | ParseQ | VIT | rec_vit_parseq.yml | 94.74% | train model |
2. Environment¶
Please refer to "Environment Preparation" to configure the PaddleOCR environment, and refer to "Project Clone"to clone the project code.
3. Model Training / Evaluation / Prediction¶
Please refer to Text Recognition Tutorial. PaddleOCR modularizes the code, and training different recognition models only requires changing the configuration file.
Training¶
Specifically, after the data preparation is completed, the training can be started. The training command is as follows:
Evaluation¶
Prediction¶
4. Inference and Deployment¶
4.1 Python Inference¶
First, the model saved during the SAR text recognition training process is converted into an inference model. ( Model download link ), you can use the following command to convert:
For SAR text recognition model inference, the following commands can be executed:
4.2 C++ Inference¶
Not supported
4.3 Serving¶
Not supported
4.4 More¶
Not supported
5. FAQ¶
Citation¶
@InProceedings{bautista2022parseq,
title={Scene Text Recognition with Permuted Autoregressive Sequence Models},
author={Bautista, Darwin and Atienza, Rowel},
booktitle={European Conference on Computer Vision},
pages={178--196},
month={10},
year={2022},
publisher={Springer Nature Switzerland},
address={Cham},
doi={10.1007/978-3-031-19815-1_11},
url={https://doi.org/10.1007/978-3-031-19815-1_11}
}