-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.conf
62 lines (61 loc) · 1.52 KB
/
config.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"fontPic":0,
"FontPicDir":"/home/user/PycharmProjects/gensample/sample_generator/配置文件/putongtax/font",
"gray": 0,
"char_config": {
"contrast":1,
"color":[238,118,33],
"lineChars": 0,
"spaceVecdr": [
6,
8
],
"char_spacing":12,
"FontDir": "/home/user/PycharmProjects/gensample/sample_generator/配置文件/putongtax/font",
"FontSize": 50,
"charDir": "/home/user/PycharmProjects/gensample/sample_generator/cortext/code_list1.txt",
"leftAdjust": {
"¥": 0.8,
"1": 1.7,
"I": 0.8,
"‘": 3.3,
"“": 2.0,
"|": 0.8,
"1": 0,
"《": 1.0,
"·": 2.0,
"(": 1.8,
"〈": 2.0
},
"upAdjust": {":":0}
},
"Generator": "get_taitou",
"endNum": 1,
"trainingchars_fn": "/home/user/PycharmProjects/gensample/sample_generator/Synthetic_Data_Engine_For_Text_Recognition/ICDAR_2003/Word_Recognition_Train/word/word/Train/",
"startNum": 0,
"output_config": {
"output_height": [
64,
72
],
"ver_random": 0,
"back_adjust": "None",
"output_dir": "/home/user/PycharmProjects/gensample/sample_generator/result/putongtax/",
"hor_random": 0,
"output_width": [
240,
270
],
"keep_label": 0,
"red": 0
},
"label": "代码",
"labelBackgdir": "/home/user/PycharmProjects/gensample/sample_generator/配置文件/putongtax/background",
"noise_config": {
"depth":1,
"isNoise": 1,
"randomBackgdir": "/home/user/PycharmProjects/gensample/sample_generator/配置文件/putongtax/background",
"useOriBck": 0,
"rotateAngle": 10
}
}