You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 14, 2018. It is now read-only.
Windows support for libtesseract is based on contributions. I personally don't use it (I use pyocr.tesseract for my project on Windows). So the list of .dll to try to load is probably not up-to-date at all. Please don't hesitate to tell me if you need some new ones to be added.
Tesseract 3.02 is known for not working well with Pyocr (on GNU/Linux anyway). Even if the binding did work, is_available() would have return false. You should try with Tesseract >= 3.0.4.
AFAIK, Tesseract 4 is still in alpha. Pyocr supports it on Linux, but I cannot guarantee yet a good support on Windows at all.
I think it's easy to fix, but why not pack with libtesseract, maybe this will make it easier to use
Because if we go this way, for consistency, I would have to package also Tesseract.exe, Cuneiform, and data language files of both Tesseract and Cuneiform.
I tried to use
libtesseract302.dll
(from https://github.com/mnadeem/ocr-tess4j-example), butthen I tried to use
libtesseract400.dll
(from https://github.com/nguyenq/tess4j which depends on https://github.com/nguyenq/lept4j)but it seems that
libtesseract400.dll
not inlibtesseract.tesseract_raw.libnames
by the way,
ctypes.cdll.LoadLibrary
will search dll from environment variablePATH
on Windows at leastI think it's easy to fix, but why not pack with libtesseract, maybe this will make it easier to use
The text was updated successfully, but these errors were encountered: