Using libtesseract on Windows
Created by: xalley
I tried to use libtesseract302.dll
(from https://github.com/mnadeem/ocr-tess4j-example), but
AttributeError: function 'TessBaseAPIGetDatapath' not found
then 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 in libtesseract.tesseract_raw.libnames
by the way, ctypes.cdll.LoadLibrary
will search dll from environment variable PATH
on Windows at least
I think it's easy to fix, but why not pack with libtesseract, maybe this will make it easier to use