🧹 Update Calamari model path

pull/27/head
Gerber, Mike 4 years ago
parent 31c36eb534
commit b0b1c021a8

@ -6,13 +6,13 @@ self_dir=`dirname "$self"`
DATA_SUBDIR=data
get_from_annex() {
annex_get 'calamari-models/GT4HistOCR/2019-07-22T15:49+0200/*.ckpt*'
annex_get 'calamari-models/GT4HistOCR/2019-07-22T15_49+0200/*.ckpt*'
annex_get 'tesseract-models/GT4HistOCR/*.traineddata'
annex_get 'textline_detection/*.h5'
}
get_from_web() {
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/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/sbb_textline_detector/models.tar.gz' 'textline_detection'
}
. $self_dir/qurator_data_lib.sh

@ -1 +1 @@
Subproject commit dcd364391768317ce6cb14f0a3300a191d0a63a9
Subproject commit 0cc78464e74fd295f00ee28a6f605ce0856d3db0

@ -99,7 +99,7 @@ do_ocr_calamari() {
# Perform OCR on the segmented lines
ocrd_calamari_recognize_parameters='{
"checkpoint": "/var/lib/calamari-models/GT4HistOCR/2019-07-22T15:49+0200/*.ckpt.json",
"checkpoint": "/var/lib/calamari-models/GT4HistOCR/2019-07-22T15_49+0200/*.ckpt.json",
"textequiv_level": "'$TEXTEQUIV_LEVEL'"
}'
ocrd workspace remove-group -rf OCR-D-OCR-CALAMARI

Loading…
Cancel
Save