From 1b6c2afd538a1e08dcd69fa8bd79c432fb240e8f Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Tue, 15 Aug 2023 19:51:42 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=94=20Add=20test-eynollah.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test-eynollah.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 test-eynollah.sh diff --git a/test-eynollah.sh b/test-eynollah.sh new file mode 100755 index 0000000..a4983e7 --- /dev/null +++ b/test-eynollah.sh @@ -0,0 +1,16 @@ +#!/bin/sh +set -ex + +test_id=`basename $0` +cd `mktemp -d /tmp/$test_id-XXXXX` + +# Prepare processors +ocrd resmgr download ocrd-eynollah-segment default + +# 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-eynollah-segment -P models default -I OCR-D-IMG-BIN -O TEST-EYNOLLAH-SEG