Hey everyone, after training my model and gaining a sufficient accuracy, I copied the checkpoint into the TESSDATA_PREFIX folder and renamed it to jen.traineddata:
cp jens_checkpoint /usr/share/tesseract/4/tessdata/jen.traineddata When trying to run tesseract with the new language I get the error message: tesseract --oem 1 -l jen sample.tif stdout Error opening data file /usr/share/tesseract/4/tessdata/jen.traineddata Please make sure the TESSDATA_PREFIX enviroment variable is set to your "tessdata" directory. Failed loading lanugage 'jen' Tesseract couldn't load any languages! Could not initialize tesseract. When simply copying a traineddata file within the folder it works just fine, e.g. cp /usr/share/tesseract/4/tessdata/eng.traineddata /usr/share/tesseract/4/tessdata/jen.traineddata Any idea, what I am doing wrong? Thanks, Jens -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-ocr+unsubscr...@googlegroups.com. To post to this group, send email to tesseract-ocr@googlegroups.com. Visit this group at https://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/e8a706f9-5439-4a7b-86a7-c41736d805e5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.