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
Android NDK: LOCAL_MODULE definition in jni/Android.mk must not contain space #1393
Comments
I have the same problem。Did you solve this problem? |
same error |
Does anybody know what READONLY/google3/mobile/build/common.mk is? It looks like it needs to be downloaded from somewhere else? |
@duanju , @rezaee : can you provide information how did you tried make android build? @Jingzhe88 : I believe |
I have fixed this in my fork, which uses Tesseract 4.0. The executable is built with CMake in Android Studio (or on command line). Here is my Windows command for arm64-v8a:
|
Is there anything which needs to be fixed in the Tesseract code base? If not, I suggest to close this issue. Of course all relevant information how to build for Android can be added to the Tesseract Wiki. |
I would say, yes, there is. The android directory with all its files can (should) be deleted.
Should I add this info to Wiki? |
Yes, please. I suggest to add a new page for Android and refer to it from https://github.com/tesseract-ocr/tesseract/wiki/Compiling. |
Will do, probably next week. |
Actually, build for Android is so easy, it can be a short section in Compilation guide for various platforms. Done. |
It looks like the tess-two project is still based on Tesseract 3.05, or am I wrong? Is there support for the latest Tesseract (4.1 or newer), too? |
@stweil see https://github.com/alexcohn/tess-two/tree/4.1. Here is what it says on my device:
The eurotext.png is OCRed correctly, but there are still some glitches:
I will look into these in the next days, as well as running the Java tests. |
|
Thank you, @alexcohn, for the information on the 4.1 branch of tess-two. The README in that branch still refers to Tesseract 3.05, so it needs an update, too. |
That's what happens when you push work in progress ;) |
Fixed. |
Closing as Android.mk does not exists in current code anymore. |
I use Ubuntu 16.04 and tried to compile tesseract4, by
ndk-build
to use it inside Android Studio. But I get this result:The text was updated successfully, but these errors were encountered: