From 76444573c9857803394c36d140ce8d8ba5c31513 Mon Sep 17 00:00:00 2001 From: Robert Sachunsky <38561704+bertsky@users.noreply.github.com> Date: Thu, 10 Feb 2022 20:15:40 +0100 Subject: [PATCH] ocrd-tool.json: add content-type, make required --- ocrd_typegroups_classifier/ocrd-tool.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ocrd_typegroups_classifier/ocrd-tool.json b/ocrd_typegroups_classifier/ocrd-tool.json index 9b1f944..6f78477 100644 --- a/ocrd_typegroups_classifier/ocrd-tool.json +++ b/ocrd_typegroups_classifier/ocrd-tool.json @@ -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.",