mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-06-09 22:59:53 +02:00
🐛 ocrd-bugs: Most/All workspaces in bag files don't validate
This commit is contained in:
parent
0f8f1d814b
commit
735e9599d7
1 changed files with 16 additions and 0 deletions
16
ocrd-bugs/page-files-as-jpeg.sh
Normal file
16
ocrd-bugs/page-files-as-jpeg.sh
Normal file
|
@ -0,0 +1,16 @@
|
|||
#!/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
|
Loading…
Add table
Add a link
Reference in a new issue