From b0b1c021a81528b60450d698cf04f60d3ed11c01 Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Wed, 5 Aug 2020 12:27:05 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20Update=20Calamari=20model=20path?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build | 6 +++--- data | 2 +- my_ocrd_workflow | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build b/build index 08f7c9d..42dbbae 100755 --- a/build +++ b/build @@ -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 diff --git a/data b/data index dcd3643..0cc7846 160000 --- a/data +++ b/data @@ -1 +1 @@ -Subproject commit dcd364391768317ce6cb14f0a3300a191d0a63a9 +Subproject commit 0cc78464e74fd295f00ee28a6f605ce0856d3db0 diff --git a/my_ocrd_workflow b/my_ocrd_workflow index 86b59a1..a98010e 100755 --- a/my_ocrd_workflow +++ b/my_ocrd_workflow @@ -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