mmocr/projects/SPTS/config/_base_/datasets/icdar2013.py

16 lines
462 B
Python
Raw Normal View History

icdar2013_textspotting_data_root = 'data/icdar2013'
icdar2013_textspotting_train = dict(
type='OCRDataset',
data_root=icdar2013_textspotting_data_root,
ann_file='textspotting_train.json',
filter_cfg=dict(filter_empty_gt=True, min_size=32),
pipeline=None)
icdar2013_textspotting_test = dict(
type='OCRDataset',
data_root=icdar2013_textspotting_data_root,
ann_file='textspotting_test.json',
test_mode=True,
pipeline=None)