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
|
# Jflesch> Don't they have the equivalent of LD_LIBRARY_PATH on |
I think it's easy to fix, but why not pack with libtesseract, maybe this will make it easier to use
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.dllnot inlibtesseract.tesseract_raw.libnamesby the way,
ctypes.cdll.LoadLibrarywill search dll from environment variablePATHon Windows at leastI think it's easy to fix, but why not pack with libtesseract, maybe this will make it easier to use