⬆ Update to ocrd_calamari 0.0.4

pull/27/head
Gerber, Mike 5 years ago
parent 1ef850992c
commit 948e9074df

@ -84,7 +84,10 @@ do_ocr() {
} }
do_ocr_calamari() { 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 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 \

@ -1,12 +1,12 @@
tensorflow-gpu < 2.0 # Needed for sbb_text_linedetector 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 https://github.com/mikegerber/ocrd_kraken/archive/fix/pass-down-page-id.tar.gz # XXX ocrd_kraken >= 0.1.1
ocrd_tesserocr 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 https://github.com/qurator-spk/sbb_textline_detector/archive/1446d7c6.tar.gz

Loading…
Cancel
Save