You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ocrd-galley/ocrd-bugs/page-files-as-jpeg.sh

17 lines
417 B
Bash

#!/bin/sh
# Most/All workspaces in bag files don't validate
# https://github.com/OCR-D/assets/issues/63
set -e
cd `mktemp -d`
virtualenv venv
. venv/bin/activate
pip install --pre ocrd
wget https://ocr-d-repo.scc.kit.edu/api/v1/dataresources/558280e0-c40a-49ae-81ab-679bc29567c3/data/gerstner_mechanik01_1831.zip
dtrx gerstner_mechanik01_1831.zip
cd gerstner_mechanik01_1831/data
ocrd workspace validate mets.xml