Error : Can't Run the fine-Tune Model after fine-tuning multi- fonts of khmer language

39 views
Skip to first unread message

Manuth Vann

unread,
Feb 6, 2022, 4:26:01 AM2/6/22
to tesseract-ocr

Hi ! Everyone . I have just tested my fine-tuning model with multi-fonts of khmer languages  and I got this error message

Error opening data file C:\Program Files\Tesseract-OCR\/tessdata/10fonts.traineddata

Please make sure the TESSDATA_PREFIX environment variable is set to your "tessdata" directory.

Failed loading language '10fonts'

Tesseract couldn't load any languages!

Could not initialize tesseract.


10fonts.trainneddata is my model . Have anyone here helped me out with this 
looking forward to hearing back from you . Thanks

Ed Dow

unread,
Feb 25, 2022, 12:01:42 PM2/25/22
to tesseract-ocr
Not sure if you figured this out but I noticed in the error message the path has both forward and back slashes.  Maybe that is causing issues opening the file? 

Also from the command line type:    echo %TESSDATA_PREFIX%

It should return with the  tessdata directory.
Reply all
Reply to author
Forward
0 new messages