Tesseract running error

后端 未结 11 1202
情书的邮戳
情书的邮戳 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:32

    No previous solution worked for me.

    I've installed both by apt-get and manually downloading the tessdata, moved around /usr and so on and no one worked even if i exported the variable thousand times.

    Finally, on a last try before start to cry i've tried to pass the path directly to the instance of Tesseract().

    In Python: tr = Tesseract("/usr/local/share/tesseract-ocr/") and now it works. To clarify, im using tesserwrap module.

提交回复
热议问题