mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-06-09 06:39:53 +02:00
⬆ Update to ocrd_calamari 0.0.4
This commit is contained in:
parent
1ef850992c
commit
948e9074df
2 changed files with 6 additions and 3 deletions
|
@ -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 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue