A bidirectional recurrent neural network model with attention mechanism for restoring missing punctuation in unsegmented text
关键参数与规格
关键参数与规格
参数
值
语言
Python
类别
Model Development
子类别
Architecture
关键词
Computer vision, OCR
星标数
683
分叉数
171
贡献者
1
创建日期
2019-07-13
更新日期
2026-10-06
1 天星标数
0
7 天星标数
0
排名
15,046
上次排名
14,877
排名变化
-169
7 天星标排名
14,777
上次 7 天星标排名
14,793
7 天星标排名变化
16
总星标排名
15,165
上次总星标排名
15,139
总星标排名变化
-26
国家
China
README 摘录
ASTER: Attentional Scene Text Recognizer with Flexible Rectification This repository implements the ASTER in pytorch. ASTER is an accurate scene text recognizer with flexible rectification mechanism. Installation Train [**NOTE**] Some users say that they can't reproduce the reported performance with minor modification, like 1 and 2. I haven't try other settings, so I can't guarantee the same performance with different settings. The users should just run the following script without any modification to reproduce the results. lmdb files by Or
test with single image by Pretrained model The pretrained model is available on our release page. Before running, modify the to the location of this file. 9 | At present, the bidirectional attention decoder proposed in ASTER is not included in my implementation. You can use the codes to bootstrap for your next text recognition research project. Data preparation We give an example to construct your own datasets. We also provide datasets for training (password: wi05) and testing. Citation If you
find this project helpful for your research, please cite the following papers: IMPORTANT NOTICE: Although this software is licensed under MIT, our intention is to make it free for academic research purposes. If you are going to use it in a product, we suggest you contact us regarding possible patent issues.
常见问题
记录了多少星标和分叉?
ayumiymk/aster.pytorch 有 683 个星标和 171 个分叉。
仓库排名是多少?
ayumiymk/aster.pytorch 排名第 15,046。
记录的语言和类别是什么?
ayumiymk/aster.pytorch 有 683 个星标,语言为 Python,类别为 Model Development。
ASTER: Attentional Scene Text Recognizer with Flexible Rectification
This repository implements the ASTER in pytorch. Origin software could be found in here.
ASTER is an accurate scene text recognizer with flexible rectification mechanism. The research paper can be found here.
Installation
conda env create -f environment.yml
Train
[NOTE] Some users say that they can't reproduce the reported performance with minor modification, like 1 and 2. I haven't try other settings, so I can't guarantee the same performance with different settings. The users should just run the following script without any modification to reproduce the results.
bash scripts/stn_att_rec.sh
Test
You can test with .lmdb files by
bash scripts/main_test_all.sh
Or test with single image by
bash scripts/main_test_image.sh
Pretrained model
The pretrained model is available on our release page. Download demo.pth.tar and put it to somewhere. Before running, modify the --resume to the location of this file.
Reproduced results
IIIT5k
SVT
IC03
IC13
IC15
SVTP
CUTE
ASTER (L2R)
92.67
-
93.72
90.74
-
78.76
76.39
ASTER.Pytorch
93.2
89.2
92.2
91
78.0
81.2
81.9
At present, the bidirectional attention decoder proposed in ASTER is not included in my implementation.
You can use the codes to bootstrap for your next text recognition research project.
Data preparation
We give an example to construct your own datasets. Details please refer to tools/create_svtp_lmdb.py.
We also provide datasets for training (password: wi05) and testing.
Citation
If you find this project helpful for your research, please cite the following papers:
@article{bshi2018aster,
author = {Baoguang Shi and
Mingkun Yang and
Xinggang Wang and
Pengyuan Lyu and
Cong Yao and
Xiang Bai},
title = {ASTER: An Attentional Scene Text Recognizer with Flexible Rectification},
journal = {IEEE Transactions on Pattern Analysis and Machine Intelligence},
volume = {41},
number = {9},
pages = {2035--2048},
year = {2019},
}
@inproceedings{ShiWLYB16,
author = {Baoguang Shi and
Xinggang Wang and
Pengyuan Lyu and
Cong Yao and
Xiang Bai},
title = {Robust Scene Text Recognition with Automatic Rectification},
booktitle = {2016 {IEEE} Conference on Computer Vision and Pattern Recognition,
{CVPR} 2016, Las Vegas, NV, USA, June 27-30, 2016},
pages = {4168--4176},
year = {2016}
}
IMPORTANT NOTICE: Although this software is licensed under MIT, our intention is to make it free for academic research purposes. If you are going to use it in a product, we suggest you contact us regarding possible patent issues.