✔ Add a basic test for ocrd_trocr

This commit is contained in:
Gerber, Mike 2023-04-05 15:01:12 +02:00
parent 6b78303ca2
commit 9d2ebd9cec

14
test-ocrd_trocr.sh Executable file
View file

@ -0,0 +1,14 @@
#!/bin/sh
set -ex
cd `mktemp -d /tmp/test-ocrd_trocr-XXXXX`
# Prepare processors
# 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-trocr-recognize -I OCR-D-SEG-LINE-SBB -O TEST-TROCR