File size: 415 Bytes
9bf4bd7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
ctw1500_textdet_data_root = 'data/ctw1500'

ctw1500_textdet_train = dict(
    type='OCRDataset',
    data_root=ctw1500_textdet_data_root,
    ann_file='textdet_train.json',
    filter_cfg=dict(filter_empty_gt=True, min_size=32),
    pipeline=None)

ctw1500_textdet_test = dict(
    type='OCRDataset',
    data_root=ctw1500_textdet_data_root,
    ann_file='textdet_test.json',
    test_mode=True,
    pipeline=None)