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.
ocrd_calamari/ocrd_calamari/ocrd-tool.json

49 lines
1.5 KiB
JSON

{
"git_url": "https://github.com/OCR-D/ocrd_calamari",
"version": "1.0.3",
"tools": {
"ocrd-calamari-recognize": {
"executable": "ocrd-calamari-recognize",
"categories": [
"Text recognition and optimization"
],
"steps": [
"recognition/text-recognition"
],
"description": "Recognize lines with Calamari",
"input_file_grp": [
"OCR-D-SEG-LINE"
],
"output_file_grp": [
"OCR-D-OCR-CALAMARI"
],
"parameters": {
"checkpoint_dir": {
"description": "The directory containing calamari model files (*.ckpt.json). Uses all checkpoints in that directory",
"type": "string",
"format": "uri",
"content-type": "text/directory",
"cacheable": true,
"default": "qurator-gt4histocr-1.0"
},
"voter": {
"description": "The voting algorithm to use",
"type": "string", "default": "confidence_voter_default_ctc"
},
"textequiv_level": {
"type": "string",
"enum": ["line", "word", "glyph"],
"default": "line",
"description": "Deepest PAGE XML hierarchy level to include TextEquiv results for"
},
"glyph_conf_cutoff": {
"type": "number",
"format": "float",
"default": 0.001,
"description": "Only include glyph alternatives with confidences above this threshold"
}
}
}
}
}