mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-07-27 21:59:52 +02:00
✔ Add test-ocrd_cis.sh
This commit is contained in:
parent
479e654a5e
commit
c26b1bf01d
1 changed files with 14 additions and 0 deletions
14
test-ocrd_cis.sh
Executable file
14
test-ocrd_cis.sh
Executable file
|
@ -0,0 +1,14 @@
|
||||||
|
#!/bin/sh
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
test_name=`basename $0`
|
||||||
|
cd `mktemp -d /tmp/test-$test_name-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-cis-ocropy-segment -I OCR-D-IMG-BIN -O TEST-CIS-OCRPY-SEGMENT
|
||||||
|
# TODO -recognize
|
Loading…
Add table
Add a link
Reference in a new issue