You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sbb_binarization/sbb_binarize/ocrd-tool.json

33 lines
974 B
JSON

{
"version": "0.0.1",
"git_url": "https://github.com/qurator-spk/sbb_binarization",
"tools": {
"ocrd-sbb-binarize": {
"executable": "ocrd-sbb-binarize",
"description": "Smart binarization with sbb_binarization",
"categories": ["Image preprocessing"],
"steps": ["preprocessing/optimization/binarization"],
"input_file_grp": [],
"output_file_grp": [],
"parameters": {
"operation_level": {
"type": "string",
"enum": ["page", "region", "line"],
"default": "page",
"description": "PAGE XML hierarchy level to operate on"
},
"patches": {
"description": "by setting this parameter to true you let the model to see the image in patches.",
"type": "boolean",
"default": false
},
"model": {
"description": "models directory.",
"type": "string",
"required": true
}
}
}
}
}