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