Use GT4HistOCR_2000000 model from qurator-data for Tesseract

This commit is contained in:
Gerber, Mike 2019-10-02 16:48:28 +02:00
parent 57ff3fc19b
commit bdab016e2c
4 changed files with 19 additions and 14 deletions

View file

@ -79,7 +79,7 @@ do_linesegmentation() {
do_ocr() {
# Perform OCR on the segmented lines
ocrd_tesserocr_recognize_parameters='{ "model": "frk" }' # TODO mods:language + fontident → model
ocrd_tesserocr_recognize_parameters='{ "model": "GT4HistOCR_2000000" }' # TODO mods:language + fontident → model
remove_filegrp OCR-D-OCR-TESS mets.xml
ocrd-tesserocr-recognize -l $LOG_LEVEL \
-m mets.xml -I OCR-D-SEG-LINE -O OCR-D-OCR-TESS \