From 150f03154ff139a528c9917fe0ccfa247c0c9b86 Mon Sep 17 00:00:00 2001 From: Konstantin Baierer Date: Thu, 15 Oct 2020 15:19:04 +0200 Subject: [PATCH] add ocrd-tool.json --- ocrd-tool.json | 1 + sbb_binarize/ocrd-tool.json | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 120000 ocrd-tool.json create mode 100644 sbb_binarize/ocrd-tool.json diff --git a/ocrd-tool.json b/ocrd-tool.json new file mode 120000 index 0000000..3c8dc95 --- /dev/null +++ b/ocrd-tool.json @@ -0,0 +1 @@ +sbb_binarize/ocrd-tool.json \ No newline at end of file diff --git a/sbb_binarize/ocrd-tool.json b/sbb_binarize/ocrd-tool.json new file mode 100644 index 0000000..70eab2a --- /dev/null +++ b/sbb_binarize/ocrd-tool.json @@ -0,0 +1,26 @@ +{ + "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": { + "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.", + "format": "string", + "required": true + } + } + } + } +}