Skip to content

Commit

Permalink
ocrd-tool.json: add cardinality specs
Browse files Browse the repository at this point in the history
  • Loading branch information
bertsky authored Aug 13, 2024
1 parent 9ea80c7 commit 163ee7d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ocrd_kraken/ocrd-tool.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"tools": {
"ocrd-kraken-binarize": {
"executable": "ocrd-kraken-binarize",
"input_file_grp": ["OCR-D-IMG", "OCR-D-PRE-CROP", "OCR-D-SEG-REGION", "OCR-D-SEG-LINE"],
"output_file_grp": ["OCR-D-PRE-BIN"],
"input_file_grp_cardinality": 1,
"output_file_grp_cardinality": 1,
"categories": [
"Image preprocessing"
],
Expand All @@ -24,8 +24,8 @@
},
"ocrd-kraken-segment": {
"executable": "ocrd-kraken-segment",
"input_file_grp": ["OCR-D-IMG", "OCR-D-PRE-CROP", "OCR-D-PRE-BIN"],
"output_file_grp": ["OCR-D-SEG-REGION", "OCR-D-SEG-LINE"],
"input_file_grp_cardinality": 1,
"output_file_grp_cardinality": 1,
"categories": [
"Layout analysis"
],
Expand Down Expand Up @@ -128,8 +128,8 @@
},
"ocrd-kraken-recognize": {
"executable": "ocrd-kraken-recognize",
"input_file_grp": ["OCR-D-SEG-LINE"],
"output_file_grp": ["OCR-D-OCR-KRAK"],
"input_file_grp_cardinality": 1,
"output_file_grp_cardinality": 1,
"categories": ["Text recognition and optimization"],
"steps": ["recognition/text-recognition"],
"description": "Text recognition with Kraken",
Expand Down

0 comments on commit 163ee7d

Please sign in to comment.