UB-Mannheim / tesseract

Tesseract Open Source OCR Engine (main repository)
Apache License 2.0
3.16k stars 439 forks source link

Outdated Leptonica version #67

Closed amitdo closed 1 year ago

amitdo commented 1 year ago

It seems you ship Leptonica 1.78 with Tesseract 5.3.0.

If that's indeed true, please upgrade to 1.83.

Thanks.

stweil commented 1 year ago

The Tesseract installer for Windows is built using the latest msys packages.

amitdo commented 1 year ago

https://github.com/tesseract-ocr/tesseract/issues/4031#issuecomment-1474842219

https://github.com/tesseract-ocr/tesseract/issues/4029

https://packages.msys2.org/package/mingw-w64-i686-leptonica

https://packages.msys2.org/package/mingw-w64-x86_64-leptonica

amitdo commented 1 year ago

How do you explain the fact that we got reports from people that downloaded your installer and now have Tesseract 5.3.0 and Leptonica 1.78 according to 'tesseract -v'?

stweil commented 1 year ago

I had to look that up myself because I had forgotton the details of the build process from December.

The Tesseract installer for Windows is built using the latest msys packages.

That's not the full truth. I planned to do so, but had little time when building in December and decided to use the old build environment which uses outdated packages from Cygwin and an old self-compiled package for Leptonica.

So the correct statement should be: The next Tesseract installer for Windows will be built using the latest msys packages.

amitdo commented 1 year ago

Yes, you have liblept-5.dll while msys2 has libleptonica-6.dll.

stweil commented 1 year ago

I just finished a new installer for Tesseract 5.3.1 which is now using recent packages for all dependencies.