From 948e9074df5b094320d7bb87f97314614dcb9c1a Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Fri, 7 Feb 2020 13:31:26 +0100 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=20Update=20to=20ocrd=5Fcalamari=200.0?= =?UTF-8?q?.4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- my_ocrd_workflow | 5 ++++- requirements.txt | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/my_ocrd_workflow b/my_ocrd_workflow index 8b86d3e..56ef9e2 100755 --- a/my_ocrd_workflow +++ b/my_ocrd_workflow @@ -84,7 +84,10 @@ do_ocr() { } do_ocr_calamari() { - ocrd_calamari_recognize_parameters='{ "checkpoint": "/var/lib/calamari-models/GT4HistOCR/2019-07-22T15:49+0200/*.ckpt.json" }' + ocrd_calamari_recognize_parameters='{ + "checkpoint": "/var/lib/calamari-models/GT4HistOCR/2019-07-22T15:49+0200/*.ckpt.json", + "textequiv_level": "line" + }' remove_filegrp OCR-D-OCR-CALAMARI mets.xml ocrd-calamari-recognize -l $LOG_LEVEL \ -m mets.xml -I OCR-D-SEG-LINE -O OCR-D-OCR-CALAMARI \ diff --git a/requirements.txt b/requirements.txt index a87ead3..f1e0e0a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,12 +1,12 @@ tensorflow-gpu < 2.0 # Needed for sbb_text_linedetector -ocrd >= 2.0.0 +ocrd >= 2.3.1 https://github.com/mikegerber/ocrd_kraken/archive/fix/pass-down-page-id.tar.gz # XXX ocrd_kraken >= 0.1.1 ocrd_tesserocr -https://github.com/mikegerber/ocrd_calamari/archive/6949876.tar.gz +ocrd_calamari == 0.0.4 https://github.com/qurator-spk/sbb_textline_detector/archive/1446d7c6.tar.gz