README.md
May 4, 2021 ยท View on GitHub
Data format example
This implementation requires the input data in the following format:
Training/Validation data
txt_filetxt file: multi-line with format:ImageFileName,TextLabel. e.g.data/example_gt.txtimg_rootfolder: image files corresponding toImageFileName. e.g.data/example_imgs
Testing data
img_folderfolder: image files.
Or use lmdb format dataset and modified the corresponding config file.
Lmdb data
Base on lmdb dataset in deep text recognition benchmark: Source repository
Download lmdb dataset: Here
Unzip and modify folder below and use config file config_lmdb.json to train:
(Can custom sub folder in folder training and val by fix select_data in config file)
dataset/data_lmdb_release/
training/
MJ_train
ST
val/
MJ_test
MJ_valid