From c26b1bf01d4aee467a8956bd90f1fbececb09eb5 Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Thu, 17 Aug 2023 18:34:15 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=94=20Add=20test-ocrd=5Fcis.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test-ocrd_cis.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 test-ocrd_cis.sh diff --git a/test-ocrd_cis.sh b/test-ocrd_cis.sh new file mode 100755 index 0000000..50a559b --- /dev/null +++ b/test-ocrd_cis.sh @@ -0,0 +1,14 @@ +#!/bin/sh +set -ex + +test_name=`basename $0` +cd `mktemp -d /tmp/test-$test_name-XXXXX` + +# Prepare test workspace +wget https://qurator-data.de/examples/actevedef_718448162.first-page+binarization+segmentation.zip +unzip actevedef_718448162.first-page+binarization+segmentation.zip +cd actevedef_718448162.first-page+binarization+segmentation + +# Run tests +ocrd-cis-ocropy-segment -I OCR-D-IMG-BIN -O TEST-CIS-OCRPY-SEGMENT +# TODO -recognize