Text Gestalt¶
1. Introduction¶
Paper:
Scene Text Telescope: Text-Focused Scene Image Super-Resolution Chen, Jingye, Bin Li, and Xiangyang Xue CVPR, 2021
Referring to the FudanOCR data download instructions, the effect of the super-score algorithm on the TextZoom test set is as follows:
Model | Backbone | config | Acc | Download link |
---|---|---|---|---|
Text Gestalt | tsrn | 21.56 | 0.7411 | configs/sr/sr_telescope.yml |
The TextZoom dataset comes from two superfraction data sets, RealSR and SR-RAW, both of which contain LR-HR pairs. TextZoom has 17367 pairs of training data and 4373 pairs of test data.
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 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¶
After executing the command, the super-resolution result of the above image is as follows:
4. Inference and Deployment¶
4.1 Python Inference¶
First, the model saved during the training process is converted into an inference model. ( Model download link ), you can use the following command to convert:
For Text-Telescope super-resolution model inference, the following commands can be executed:
After executing the command, the super-resolution result of the above image is as follows:
4.2 C++ Inference¶
Not supported
4.3 Serving¶
Not supported
4.4 More¶
Not supported
5. FAQ¶
Citation¶
@INPROCEEDINGS{9578891,
author={Chen, Jingye and Li, Bin and Xue, Xiangyang},
booktitle={2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
title={Scene Text Telescope: Text-Focused Scene Image Super-Resolution},
year={2021},
volume={},
number={},
pages={12021-12030},
doi={10.1109/CVPR46437.2021.01185}}