Skip to content
This repository was archived by the owner on Feb 19, 2024. It is now read-only.

ocrd-tool.json: add content-type, make required #10

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions ocrd_typegroups_classifier/ocrd-tool.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@
"recognition/font-identification"
],
"input_file_grp": ["OCR-D-IMG"],
"output_file_grp": ["OCR-D-IMG-FONTS"],
"output_file_grp": ["OCR-D-FONTS"],
"parameters": {
"network": {
"description": "The file name of the neural network to use, including sufficient path information",
"description": "The neural network pickle file to use",
"type": "string",
"required": false
"format": "uri",
"content-type": "application/octet-stream",
"required": true
},
"stride": {
"description": "Stride applied to the CNN on the image. Should be between 1 and 224. Smaller values increase the computation time.",
Expand Down