-
Notifications
You must be signed in to change notification settings - Fork 3
/
ocrd-tool.json
38 lines (36 loc) · 1.03 KB
/
ocrd-tool.json
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
{
"git_url": "https://github.com/OCR-D/ocrd_im6convert",
"version": "0.1.1",
"tools": {
"ocrd-im6convert": {
"executable": "ocrd-im6convert",
"categories": ["Image preprocessing"],
"steps": ["preprocessing/optimization"],
"description": "Convert and transform images",
"input_file_grp": [
"OCR-D-IMG"
],
"output_file_grp": [
"OCR-D-IMG"
],
"parameters": {
"input-options": {
"type": "string",
"description": "e.g. -density 600x600 -wavelet-denoise 1%x0.1",
"default": ""
},
"output-format": {
"type": "string",
"description": "Desired media type of output",
"required": true,
"enum": ["image/tiff", "image/jp2", "image/png"]
},
"output-options": {
"type": "string",
"description": "e.g. -resample 300x300 -alpha deactivate -normalize -despeckle -noise 2 -negate -morphology close diamond",
"default": ""
}
}
}
}
}