tesseract
tesseract copied to clipboard
Fix build with unreleased leptonica 1.83
leptonica moved most of their type definitions to internal headers. Long term usages of internal API should be removed, but for now simply include the internal header to allow tesseract to be built.
https://github.com/tesseract-ocr/tesseract/pull/3851 should probably merged instead of this PR (I reviewed that one), but if it looks too risky, then this PR is the simpliest possible fix.
close in favour of 3851
#3851 should probably merged instead of this PR (I reviewed that one), but if it looks too risky, then this PR is the simpliest possible fix.
This comment is misleading. #3851 will not solve the issue that this PR is trying to solve. They are dealing with the same issue but in different files.
However, #3851 could be extended to solve the issue in additional file.