| paper | English datasets |Chinese datasets| pretrained model: Google driver or Baidu Netdisk (passwd:7npu) |
pip install lmdb pillow torchvision nltk natsort timm mmcv
Download pretrained model from Google driver or Baidu Netdisk (passwd:7npu) ;
Set models path, testsets path and characters list ;
Run test_benchmark.py ;
python
CUDA_VISIBLE_DEVICES=0 python test_benchmark.py --benchmark_all_eval --Transformation TPS19 --FeatureExtraction VIPTRv1T --SequenceModeling None --Prediction CTC --batch_max_length 25 --imgW 96 --output_channel 192
python
CUDA_VISIBLE_DEVICES=0 python test_chn_benchmark.py --benchmark_all_eval --Transformation TPS19 --FeatureExtraction VIPTRv1T --SequenceModeling None --Prediction CTC --batch_max_length 64 --imgW 320 --output_channel 192

Please consider citing this work in your publications if it helps your research.
@article{cheng2024viptr,
title={VIPTR: A Vision Permutable Extractor for Fast and Efficient Scene Text Recognition},
author={Cheng, Xianfu and Zhou, Weixiao and Li, Xiang and Chen, Xiaoming and Yang, Jian and Li, Tongliang and Li, Zhoujun},
journal={arXiv preprint arXiv:2401.10110},
year={2024}
}
$ claude mcp add VIPTR \
-- python -m otcore.mcp_server <graph>