From ad8ea8c3ef45cfd09ce14f51764d94993316557d Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Thu, 17 Aug 2023 19:03:10 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=94=20Add=20test-ocrd=5Fwrap.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test-ocrd_wrap.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 test-ocrd_wrap.sh diff --git a/test-ocrd_wrap.sh b/test-ocrd_wrap.sh new file mode 100755 index 0000000..803ae36 --- /dev/null +++ b/test-ocrd_wrap.sh @@ -0,0 +1,13 @@ +#!/bin/sh +set -ex + +test_id=`basename $0` +cd `mktemp -d /tmp/$test_id-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-skimage-binarize -I OCR-D-IMG -O TEST-OCRD-SKIMAGE-BINARIZE