From 7bb9dd6141eaaaf7d40f97d08dbe12393c448c09 Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Thu, 23 Mar 2023 18:23:45 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=94=20Add=20a=20test=20script=20for=20ocr?= =?UTF-8?q?d=5Folena?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test-ocrd_olena.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 test-ocrd_olena.sh diff --git a/test-ocrd_olena.sh b/test-ocrd_olena.sh new file mode 100755 index 0000000..73c940a --- /dev/null +++ b/test-ocrd_olena.sh @@ -0,0 +1,12 @@ +#!/bin/sh +set -ex + +cd `mktemp -d /tmp/test-ocrd_olena-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-olena-binarize -I OCR-D-IMG -O TEST-OLENA