-
Notifications
You must be signed in to change notification settings - Fork 744
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
Tesseract 4.0 support #385
Comments
Sure, mind giving it a try yourself? |
I'll see if I can find the time. I know its intensive. Right now I am starting to write for a blog, trying get a company going, and doing the whole 9-5/6pm thing. |
would be really helpful if presets can upgrade the supported version of tesseract to 4.0, as it was trained with LSTM On a separate note, I tried to resolve against 1.3.4-SNAPSHOT, but got a few resolution errors for dependencies like,
Is this the right one to use?
Do I have to use a custom resolver ? |
Gradle has issues with SNAPSHOT artifacts, but it works if they are in
.m2/repository instead.
|
Sorry, I am not sure if I follow. I am using sbt to resolve the dependencies. Do you actually mean that sbt has issue with SNAPSHOT artifacts ? And what exactly does "but it works if they are in |
Sorry, I meant sbt as well as Gradle. If the artifacts are available in |
Could you please report this issue upstream so the guys working on sbt can get this working properly? That would be great. |
+1 on this issue, Tesseract 4.0.0 support would be much appreciated. |
@amalow Please try to update the presets! If you encounter any issues, I will help you out. |
This could be my bad, able to build Leptonica successfully but when building Tesseract mvn install is crashing at:
I had a brief look through the project search and couldn't find anything related to Travis, may be an issue within Tesseract? Otherwise I've updated the OEM enum to allow the LSTM defaults, this currently is a breaking change (if someone is specifying 2 for CUBE it'll now run the LSTM, however I can fix this to be backwards compatible) |
Tesseract requires libtool to build. Make sure to follow these instructions before attempting a build on your Mac: https://github.com/bytedeco/javacpp-presets/wiki/Build-Environments#mac-os-x-x86_64 |
All of those tools are present on my system, I've built Tesseract from source previously The above output was with -X on mvn, this is what is produced without that flag
Its important to note as well that I don't have a User named 'travis' on this system. |
Well it works fine on my system and on Travis Ci, so something is off with your machine I'm afraid. |
It looks like it's trying to use builds of Leptonica from Travis CI, and Mac is known to have issues with changing directories yes. This just means it's not finding your build of Leptonica. Don't try to build them separately. Build them together as per the instructions in the README.md file. |
I've updated the presets (seemed like there were only a couple changes) and am installing successfully, my clang++ on OSX is being difficult (strange as it can compile tesseract just fine) when i'm trying to mvn package Tesseract, currently working on compiling for Linux. |
Great, send a pull request and we'll see if Travis CI has issues! Thanks |
Any plans when would be available ? |
Included with commit 16d067c ! Please give it a try with snapshots: http://bytedeco.org/builds/ |
Tesseract 4.0 is feature complete (https://github.com/tesseract-ocr/tesseract/wiki/4.0%20Accuracy%20and%20Performance). Any chance of an update to the java-cpp presets?
Keep up the great work.
The text was updated successfully, but these errors were encountered: