-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reduced tesseract capabilities because of missing libraries for build process #63
Comments
@stweil can you open a PR adding the missing libraries? |
Signed-off-by: Stefan Weil <[email protected]>
Signed-off-by: Stefan Weil <[email protected]>
See #66 which adds libcurl. As this is my first PR here I might have missed something. libarchive was already in the package list, but not found by the build process. I still have no solution how to fix this. |
@stweil Thanks for adding
However on MacOS I also see no mention of
On Windows, this package uses CMake, but uses configure / make on POSIX systems. Perhaps it can switch to CMake on Linux, or you can try passing in the configure flags like |
libarchive is less important (it supports zipped model files, but currently there are no such files as far as I know), so it would not matter much if some platforms don't find it. libcurl is more important because it allows OCR with image URLs. |
5.4.1 libgif is missing on the windows build |
On which Windows build is it missing? I think libgif should be pulled in by Leptonica. |
The latest one: win-64/tesseract-5.4.1-h5bc6e0e_0.conda Looks like leptonica pulls in libjpeg, libpng, libtiff, zlib, and libopenjp2 - but no libgif. |
Then this looks like a missing build and runtime dependency for Leptonica. In https://github.com/conda-forge/leptonica-feedstock/blob/main/recipe/meta.yaml the dependency for giflib is marked with "not win". This was introduced 5 years ago because of missing GIF header files for Windows. So it would be worth to check it again and possibly fix it. |
Solution to issue cannot be found in the documentation.
Issue
The Tesseract package is built without libarchive and libcurl:
Therefore some functionality (for example running OCR with an image URL) is missing.
Installed packages
Environment info
The text was updated successfully, but these errors were encountered: