Comments (29)
You're seeing this build failure because your tess-two directory is named "tess-two-master" instead of the default name "tess-two".
from tess-two.
I renamed the directory.
To build eyes-two fails
E:\tess-two\eyes-two>ndk-build
[armeabi] Compile++ thumb: hydrogen <= clusterer.cpp
[armeabi] Compile++ thumb: hydrogen <= hydrogentextdetector.cpp
[armeabi] Compile++ thumb: hydrogen <= thresholder.cpp
[armeabi] Compile++ thumb: hydrogen <= utilities.cpp
[armeabi] Compile++ thumb: hydrogen <= validator.cpp
[armeabi] Compile++ thumb: hydrogen <= hydrogentextdetector.cpp
[armeabi] Compile++ thumb: hydrogen <= thresholder.cpp
[armeabi] Compile++ thumb: hydrogen <= jni.cpp
make.exe: *** No rule to make target jni/../../tess-two/libs/armeabi/liblept.so ', needed by
obj/local/armeabi/libhydrogen.so'. Stop.
from tess-two.
Your directories should be
E:\tess\tess-two
E:\tess\eyes-two
It's working fine for me on 64bit Windows 8. Please reopen if the build consistently fails for you when you follow the build instructions exactly.
from tess-two.
You have to compile tess-two before eyes-two.
cd tess
cd tess-two
ndk-build
And after you could try to compile your eyes two.
from tess-two.
what is used of eye-two..
In which purpose we can use eyes-two project..
Please Explain..
Is that project is help me for the OCR...
waiting for your reply guys
from tess-two.
I am getting the below error when I am trying to compile using ndk-build
I tried to compile tess-two first.
Android NDK: ERROR:D:/Personal/Work/Android/android-ndk-r10/sources/cxx-stl/gnu-
libstdc++/Android.mk:gnustl_static: LOCAL_SRC_FILES points to a missing file
Android NDK: Check that D:/Personal/Work/Android/android-ndk-r10/sources/cxx-stl
/gnu-libstdc++/4.8/libs/armeabi/thumb/libgnustl_static.a exists or that its pat
h is correct
D:/Personal/Work/Android/android-ndk-r10/build/core/prebuilt-library.mk:45: ***
Android NDK: Aborting . Stop.
from tess-two.
@nigelt007 You need to download the 32-bit target NDK because it has the 4.8 toolchain.
from tess-two.
I had the same problem as @nigelt007 and @rmtheis's solution solved my problem.
from tess-two.
I have successfully built tess-two and now I'm trying to move forward to eyes-two. For some reason I'm getting the error message "No rule to make target jni/../../tess-two/libs/armeabi/liblept.so', needed by
obj/local/armeabi/libhydrogen.so'". I have no idea why this error occurs because I have followed the exact build directions. My directory hierarchy is:
tess/eyes-two
tess/tess-two
I'm using x64 bit Mac.
from tess-two.
@rmtheis ,sir I am trying to do OCR demo in android Studio and I am following this tutorial http://www.codeproject.com/Tips/840623/Android-Character-Recognition
and I have been following your guidelines over the internet ,I have successfully built ndk from command prompt for tess-two and eyes-two ,and then tried "android update project --path C:...\tess-two" according to the location. and I got an error "android is not recognized"....please help me out ,I venture in hope for your warm response .
from tess-two.
good day @Santosh-E-sig i had the same problem but i managed to find the solution. may i know which operating system are you using..
from tess-two.
I am using windows 7 @moonash
what should i do now ?
from tess-two.
okay that is great news that's the one i am using too. click on the start button and then type android on the search section. hopefully you shoulf find an android batch file. you should then right click it and copy the path of that batch file.. The bactch file should be located in the located in the sdk\tools folder... after getting the path copy it and paste it to your environment variables. in the path variables. im online if you still need help..
from tess-two.
@moonash I set the path for android as "D:\sdk\tools",this is the place where I have sdk for Android Studio ,I tried the command to update the tess-two project as "android update project --path C:\Users\User\Desktop\tess\tess-two" ,again I am getting different error now.
Error:The project either has no target set or the target is invalid .please provide a --target to the 'android.bat update' command . i need help here
from tess-two.
@Santosh-E-sig do not worry you in the right direction. i had that error as well... now you need to add a target to the command we were given by @rmtheis.
type the follwoing comand
android update project --target 1 --path "C:\ .....tess-two" to your tess-two folder that you want to update".
after that your project should update.
from tess-two.
Another Problem again :
Error:Updates an Android project "must already have an AndroidManifest.xml ",where could I have made mistake although I am following your given steps.
from tess-two.
confirm is this the command you wrote?
android update project --target 1 --path
after path you then write the path to the tess-two project that you want to update....
anyways after adding the android.bat to your environmental variables did you close your command prompt and restart it?
can you send me a screen shot of your command prompt if you don't mind
from tess-two.
@moonash ..i am also facing the same problem
from tess-two.
@sid-dude have you followed the steps i have stated above. where are you stuck?
from tess-two.
all the criterias I have taken correctly,My Screen shot of Command prompt is like this
from tess-two.
you didnt put the -- before path
the syntax is
android update project --target 1 --path
from tess-two.
@moonash >>>
i was trying to import the OCR GitHub projects of RmTheis directly.....but i was finding difficulty as it was asking for downloading android sdk 8....presently i"m downloading it......
Besides this presently have successfully built ndk from command prompt for tess-two and eyes-two and following the steps u have provided to @Santosh-E-sign
so can we directly import the project.......without setting all this???#moonash
from tess-two.
Thank you for the givin instrustions ,it worked out ,and I would further like to know how to get on the project further ,could you please help me out with some references
from tess-two.
@Santosh-E-sig you are welcome i am using this link for reference http://noviceandroiddeveloper.blogspot.com/2014/08/a-big-undertaking-ocr-using-tesseract.html?showComment=1427701490335
@sid-dude its is fine anyways just send a message when you need help if i am online i will help you.
from tess-two.
@moonash>> thankxx buddy....for your support
from tess-two.
Thanks for the Link ,If any further help needs then I will Contact you. 👍
from tess-two.
Good evening there,
i have also been trying for some time now, to work on the OCR demo provided by this tutorial
http://www.codeproject.com/Tips/840623/Android-Character-Recognition
my problem is even thought i made the changes suggested on the path system variable i am still getting the error "android is not recognized as an internal or external command, operable program or batch file."
I tried to follow the steps you mention above but i cannot complete the "batch file" step you suggested since im working on windows 8.1 and the "Search" doesnt show any batch file.
I would really appreciate some help since i've been struggling for a while now and im not really experienced on the ndk part of android.
Thanks in advance and sorry for this small wall of text.
from tess-two.
hi @Nosqe follow the path to where you installed your android studio from there you then look for the android. bat like in my case
C:\Program Files (x86)\Android\android-studio\sdk\tools
this is the path i added to my environmental variables because that is the path to my android.bat
from tess-two.
@moonash first of all thanks for the quick response
surprisingly enough when i tried to search that path you mentioned i realised that my
C:\Program Files\Android\android-studio does not contain a sdk folder at all even though
when i checked the SDK manager through the Android studio it looks like the components are actually installed.
--EDIT : I actually found the directory you were talking about and also the android. bat file. It seems that it was located to a hidden folder inside my "Users" section and i had to enable "Show hidden folders to reach it".
The thing is now, im getting the error 'xcopy' is not recognized as an internal or external command, operable program or batch file. And right after that it spams some lines with "The system cannot find the path specified."
from tess-two.
Related Issues (20)
- Initializing TessBaseAPI crashes app HOT 2
- How to build tess-two without JNI? HOT 1
- error in Android 7.0 HOT 1
- import tess two error HOT 4
- Arabic trained-data produce 20% accuracy HOT 2
- java.lang.NoSuchFieldError: no "I" field "mNativeData" in class "Lcom/googlecode/tesseract/android/TessBaseAPI;" or its superclasses HOT 2
- java.lang.NoSuchFieldError: no "I" field "mNativeData" in class "Lcom/googlecode/tesseract/android/TessBaseAPI;" or its superclasses HOT 2
- How I can init the tesseract to work only with digits? HOT 5
- tess4 on android studio HOT 1
- Tess4 initialize crash HOT 1
- Can't lanch
- Could not initialize Tesseract API with language=ces! HOT 2
- Illegible words recognition in Persian lang HOT 2
- Getting different results when using tesseract on mobile vs on PC using Python. HOT 2
- Decoding is slow when multiple languages are used HOT 2
- In versions higher than 5.4.1 TessBaseAPI.ProgressNotifier never called HOT 1
- Native crush when 'vert'.tessdata is used HOT 1
- read Jpeg and PNG produce wrong alpha in 32bpp pix HOT 4
- Crash on Android L HOT 2
- AndroidX support HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tess-two.