Is it possible to use google tesseract OCR in android through NDK?
So I have some C++ code which uses tesseract OCR and now I don't want to move it to Android because it is connected with code that uses openCV and I have this in c++.
Many thanks for advice and links and how can I use it and build it.
It is most certainly possible to use the Tesseract OCR library in your own Android application through the NDK. However, you will have to compile the Tesseract library along with another library called Leptonica Image Processing Library and they take considerable amount of time to compile.
A guy named Robert Theis created a GitHub project (named tess-two) that would allow you to call the Tesseract API using Java through the Android Java Native Interface (JNI). You can read a bit more about that here.
I recommend you to follow this particular tutorial written by Gautam Gupta on how to set things up.
On the same page of that tutorial, there's also an explanatory comment giving you a step-by-step list of instructions you need to follow in order to configure the Tesseract OCR library with your Android application in Android Studio.