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

totaltext_textrecog_train = dict(
    type='OCRDataset',
    data_root=totaltext_textrecog_data_root,
    ann_file='textrecog_train.json',
    test_mode=False,
    pipeline=None)

totaltext_textrecog_test = dict(
    type='OCRDataset',
    data_root=totaltext_textrecog_data_root,
    ann_file='textrecog_test.json',
    test_mode=True,
    pipeline=None)