diff --git a/test-ocrd_segment.sh b/test-ocrd_segment.sh new file mode 100755 index 0000000..045dfb7 --- /dev/null +++ b/test-ocrd_segment.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-segment-extract-pages -I OCR-D-SEG-LINE-SBB -O TEST-OCRD-SEGMENT-EXTRACT-PAGES