🐛 ocrd-bugs: bug-ocropy-segment-littering.sh

pull/27/head
Gerber, Mike 5 years ago
parent cc81afa1a5
commit b4f5d44ac8

@ -0,0 +1,15 @@
#!/bin/bash -x
cd `mktemp -d`
virtualenv -p /usr/bin/python3 venv
. venv/bin/activate
pip install ocrd-ocropy
wget https://ocr-d-repo.scc.kit.edu/api/v1/dataresources/1b0fb8b5-3397-4c99-9ec3-24d5954ac0fb/data/bernd_lebensbeschreibung_1738.ocrd.zip
dtrx bernd_lebensbeschreibung_1738.ocrd.zip
cd bernd_lebensbeschreibung_1738.ocrd/data
ocrd-ocropy-segment -m mets.xml -I OCR-D-IMG -O OCR-D-SEG-LINES
pip list | grep ocrd
ls -l
Loading…
Cancel
Save