mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-07-10 21:49:53 +02:00
16 lines
484 B
Bash
Executable file
16 lines
484 B
Bash
Executable file
#!/bin/sh
|
|
set -ex
|
|
|
|
test_id=`basename $0`
|
|
cd `mktemp -d /tmp/$test_id-XXXXX`
|
|
|
|
# Prepare processors
|
|
ocrd resmgr download ocrd-sbb-binarize 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-sbb-binarize -P model default -I OCR-D-IMG -O TEST-OCRD-SBB-BINARIZE
|