mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-07-27 13:49:53 +02:00
✔ Add test-ocrd_fileformat.sh
This commit is contained in:
parent
e9cce3e689
commit
2692652378
1 changed files with 13 additions and 0 deletions
13
test-ocrd_fileformat.sh
Executable file
13
test-ocrd_fileformat.sh
Executable file
|
@ -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-fileformat-transform -I OCR-D-GT-PAGE -O OCR-TEST-CONVERT
|
Loading…
Add table
Add a link
Reference in a new issue