mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-07-01 01:19:52 +02:00
✔ Add a basic test for ocrd_trocr
This commit is contained in:
parent
6b78303ca2
commit
9d2ebd9cec
1 changed files with 14 additions and 0 deletions
14
test-ocrd_trocr.sh
Executable file
14
test-ocrd_trocr.sh
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue