⬆ Update calamari-models URL + path

pull/27/head
Gerber, Mike 5 years ago
parent 2b8c6728bc
commit 87a2bce93c

@ -5,13 +5,13 @@
DATA_SUBDIR=data DATA_SUBDIR=data
get_from_annex() { get_from_annex() {
annex_get 'calamari-models/GT4HistOCR/*.ckpt*' annex_get 'calamari-models/GT4HistOCR/2019-07-22T15:49+0200/*.ckpt*'
annex_get 'tesseract-models/GT4HistOCR/*.traineddata' annex_get 'tesseract-models/GT4HistOCR/*.traineddata'
annex_get 'textline_detection/*.h5' annex_get 'textline_detection/*.h5'
} }
get_from_web() { get_from_web() {
download_to 'https://qurator-data.de/calamari-models/GT4HistOCR/model.tar.xz' 'calamari-models/GT4HistOCR' download_to 'https://qurator-data.de/calamari-models/GT4HistOCR/model.tar.xz' 'calamari-models/GT4HistOCR/2019-07-22T15:49+0200'
download_to 'https://qurator-data.de/tesseract-models/GT4HistOCR/models.tar' 'tesseract-models/GT4HistOCR' download_to 'https://qurator-data.de/tesseract-models/GT4HistOCR/models.tar' 'tesseract-models/GT4HistOCR'
# FIXME needs update download_to 'https://file.spk-berlin.de:8443/textline_detection/models.tar.gz' 'textline_detection' # FIXME needs update download_to 'https://file.spk-berlin.de:8443/textline_detection/models.tar.gz' 'textline_detection'
} }

@ -1 +1 @@
Subproject commit f6f7dd40cf309dbc7ce31f2df6b4ae52949d1c78 Subproject commit dcd364391768317ce6cb14f0a3300a191d0a63a9

@ -100,7 +100,7 @@ do_ocr() {
} }
do_ocr_calamari() { do_ocr_calamari() {
ocrd_calamari_recognize_parameters='{ "checkpoint": "/var/lib/calamari-models/GT4HistOCR/*.ckpt.json" }' ocrd_calamari_recognize_parameters='{ "checkpoint": "/var/lib/calamari-models/GT4HistOCR/2019-07-22T15:49+0200/*.ckpt.json" }'
remove_filegrp OCR-D-OCR-CALAMARI mets.xml remove_filegrp OCR-D-OCR-CALAMARI mets.xml
ocrd-calamari-recognize -l $LOG_LEVEL \ ocrd-calamari-recognize -l $LOG_LEVEL \
-m mets.xml -I OCR-D-SEG-LINE -O OCR-D-OCR-CALAMARI \ -m mets.xml -I OCR-D-SEG-LINE -O OCR-D-OCR-CALAMARI \

@ -10,7 +10,6 @@ ocrd_tesserocr
https://github.com/mikegerber/ocrd_calamari/archive/6949876.tar.gz https://github.com/mikegerber/ocrd_calamari/archive/6949876.tar.gz
https://github.com/qurator-spk/sbb_textline_detector/archive/1446d7c6.tar.gz
vendor/sbb_textline_detector-5757025.tar
https://github.com/qurator-spk/dinglehopper/archive/c305539.tar.gz https://github.com/qurator-spk/dinglehopper/archive/c305539.tar.gz

Loading…
Cancel
Save