Search code examples
androideclipsecygwinandroid-ndktesseract

How to configure Tesseract in Eclipse for Android development?


I have been working on android from 6 months. So I have basic idea about Android development. Now I want to develop an OCR Android app using Tesseract. For that I have downloaded android-ndk-r6b, tess-two from Tesseract, Cygwin for Windows and installed C/C++ developer in Eclipse.

And I followed these two links:

1.http://www.itwizard.ro/interfacing-cc-libraries-via-jni-example-tesseract-163.html

2.http://gaut.am/making-an-ocr-android-app-using-tesseract/

but I got stuck in between. I mean I am not able to configure these things together.

Can anyone suggest me how to configure tesseract in Android from beginning (step by step)?


Solution

  • The instructions at your link #2 don't work using cygwin--you have to build using Linux. I've verified that those instructions work. So try using Linux instead of cygwin.

    If you're using the instructions at your link #2, you don't need the instructions at your link #1 at all--it has what you need in JNI already available.