Tesseract running error

后端 未结 11 1219
情书的邮戳
情书的邮戳 2020-11-29 21:08

I have a problem with running tesseract-ocr engine on linux. I\'ve downloaded RUS language data and put it to tessdata directory (/usr/local/share/tessdata). When I\'m tryin

11条回答
  •  囚心锁ツ
    2020-11-29 21:34

    I had this error too on the Windows machine.

    My solution.

    1) Download your language files from https://github.com/tesseract-ocr/tessdata/tree/3.04.00

    For example, for eng, I downloaded all files with eng prefix.

    2) Put them into tessdata directory inside of some folder. Add this folder into System Path variables as TESSDATA_PREFIX.

    Result will be System env var: TESSDATA_PREFIX=D:/Java/OCR And OCR folder has tessdata with languages files.

    This is a screenshot of the directory:

提交回复
热议问题