File size: 519 Bytes
0b4516f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
icdar2017_textdet_data_root = 'data/det/icdar_2017'

icdar2017_textdet_train = dict(
    type='OCRDataset',
    data_root=icdar2017_textdet_data_root,
    ann_file='instances_training.json',
    data_prefix=dict(img_path='imgs/'),
    filter_cfg=dict(filter_empty_gt=True, min_size=32),
    pipeline=None)

icdar2017_textdet_test = dict(
    type='OCRDataset',
    data_root=icdar2017_textdet_data_root,
    ann_file='instances_test.json',
    data_prefix=dict(img_path='imgs/'),
    test_mode=True,
    pipeline=None)