ocrd-galley/build

15 lines
277 B
Text
Raw Normal View History

2019-06-24 16:36:19 +02:00
#!/bin/sh
2019-08-21 11:54:01 +02:00
set -e
(
cd data
git annex init
git annex upgrade
for f in "calamari-models/GT4HistOCR/*.ckpt*" "tesseract-models/GT4HistOCR/*.traineddata" "textline_detection/*.h5"; do
git annex get $f
git annex fsck $f
done
2019-08-21 11:54:01 +02:00
)
2019-08-20 12:25:12 +02:00
docker build -t my_ocrd_workflow .