-
Notifications
You must be signed in to change notification settings - Fork 755
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
21 changed files
with
109 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,7 @@ | ||
mjsynth_textrecog_data_root = 'data/rec/Syn90k/' | ||
mjsynth_textrecog_data_root = 'data/mjsynth' | ||
|
||
mjsynth_textrecog_test = dict( | ||
mjsynth_textrecog_train = dict( | ||
type='OCRDataset', | ||
data_root=mjsynth_textrecog_data_root, | ||
data_prefix=dict(img_path='mnt/ramdisk/max/90kDICT32px'), | ||
ann_file='train_labels.json', | ||
test_mode=False, | ||
pipeline=None) | ||
|
||
mjsynth_sub_textrecog_train = dict( | ||
type='OCRDataset', | ||
data_root=mjsynth_textrecog_data_root, | ||
data_prefix=dict(img_path='mnt/ramdisk/max/90kDICT32px'), | ||
ann_file='subset_train_labels.json', | ||
test_mode=False, | ||
ann_file='textrecog_train.json', | ||
pipeline=None) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
Name: 'Synthetic Word Dataset (MJSynth/Syn90k)' | ||
Paper: | ||
Title: Reading Text in the Wild with Convolutional Neural Networks | ||
URL: https://arxiv.org/pdf/1412.1842.pdf | ||
Venue: International Journal of Computer Vision | ||
Year: '2016' | ||
BibTeX: '@InProceedings{Jaderberg14c, | ||
author = "Max Jaderberg and Karen Simonyan and Andrea Vedaldi and Andrew Zisserman", | ||
title = "Synthetic Data and Artificial Neural Networks for Natural Scene Text Recognition", | ||
booktitle = "Workshop on Deep Learning, NIPS", | ||
year = "2014", | ||
} | ||
@Article{Jaderberg16, | ||
author = "Max Jaderberg and Karen Simonyan and Andrea Vedaldi and Andrew Zisserman", | ||
title = "Reading Text in the Wild with Convolutional Neural Networks", | ||
journal = "International Journal of Computer Vision", | ||
number = "1", | ||
volume = "116", | ||
pages = "1--20", | ||
month = "jan", | ||
year = "2016", | ||
}' | ||
Data: | ||
Website: https://www.robots.ox.ac.uk/~vgg/data/text/ | ||
Language: | ||
- English | ||
Scene: | ||
- Synthesis | ||
Granularity: | ||
- Word | ||
Tasks: | ||
- textrecog | ||
License: | ||
Type: N/A | ||
Link: N/A | ||
Format: .txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
**Text Recognition** | ||
|
||
```txt | ||
./3000/7/182_slinking_71711.jpg 71711 | ||
./3000/7/182_REMODELERS_64541.jpg 64541 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
data_root = 'data/mjsynth' | ||
cache_path = 'data/cache' | ||
|
||
train_preparer = dict( | ||
obtainer=dict( | ||
type='NaiveDataObtainer', | ||
cache_path=cache_path, | ||
files=[ | ||
dict( | ||
url='https://thor.robots.ox.ac.uk/~vgg/data/text/' | ||
'mjsynth.tar.gz', | ||
save_name='mjsynth.tar.gz', | ||
md5='7bf2b60ad935eaf64e5b606f782d68e5', | ||
split=['train'], | ||
content=['image', 'annotation'], | ||
mapping=[ | ||
[ | ||
'mjsynth/mnt/ramdisk/max/90kDICT32px/*/', | ||
'textrecog_imgs/train/' | ||
], | ||
[ | ||
'mjsynth/mnt/ramdisk/max/90kDICT32px/annotation.txt', | ||
'annotations/annotation.txt' | ||
] | ||
]), | ||
]), | ||
gatherer=dict(type='MonoGatherer', ann_name='annotation.txt'), | ||
parser=dict( | ||
type='ICDARTxtTextRecogAnnParser', | ||
separator=' ', | ||
format='img text', | ||
remove_strs=None), | ||
packer=dict(type='TextRecogPacker'), | ||
dumper=dict(type='JsonDumper'), | ||
) | ||
|
||
delete = ['mjsynth', 'annotations'] | ||
|
||
config_generator = dict( | ||
type='TextRecogConfigGenerator', data_root=data_root, test_anns=None) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters