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