Quan Nguyen
Quan Nguyen
@cdokolas The library was tested with both Java 8 (1.8.0_401) 32- and 64-bit on Windows 11. The Windows binaries were built using VS2022 with the following settings: Windows SDK version:...
Possible duplicate of Issue #250.
@cdokolas Can you test with the latest version in the repo?
I had the tess4j version in question run successfully on Windows 10 Version 22H2. The latest Windows binaries are built with: Windows SDK version: 10.0.22621.0 Platform Toolset: Visual Studio 2022...
@kpentaris The stride may be used internally by Tesseract OCR engine, but its public [C API](https://github.com/tesseract-ocr/tesseract/blob/main/src/api/capi.cpp) does not use or expose it, so Tess4J does not need to consider it.
@kpentaris Sorry, it was meant to close as not planned since it's not an issue. Tesseract engine does not consider image stride.
@kpentaris I misunderstood your statement. Please submit a PR.
@herou Can you ensure that you run with the latest JNA version? You may need to explicitly specify the JNA version in POM.
@boris-petrov It would be a challenge since tess4j has hard dependency on jai-imageio-core, which is a widely-used image library. We are not familiar with Twelve Monkeys to say it's possible....
The memory leak issue has been reported several times, but we have no way to address it. The Java binding is just a thin Java layer over Tesseract C-API. The...