From 6cf7ec67cc20c64cb763087aee10244c2e5b2034 Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Mon, 7 Aug 2023 19:44:46 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=94=20Add=20test=20for=20dinglehopper?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test-dinglehopper.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 test-dinglehopper.sh diff --git a/test-dinglehopper.sh b/test-dinglehopper.sh new file mode 100755 index 0000000..6cdcdf9 --- /dev/null +++ b/test-dinglehopper.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-dinglehopper -I OCR-D-GT-PAGE,OCR-D-SEG-LINE-SBB -O DINGLEHOPPER-TEST