You will not need to download android ndk, cygwin and ant. You will also not need to set environment variables.
- Eclipse or any other IDE that has been configured for android development.
Download the pre-built tess-two library as .7za here and extract the tess-two folder to any location. NB/ Do not extract into your workspace!!!!!
Download Simple-Android-OCR-master project from here and extract to the same location as the tess-two library.
Import the two projects into the eclipse workspace as shown below.
go to File>Import>Existing android code into workspace>Root Folder: Browse. Select the folder that contains the two projects.
You may encounter errors in-case you extracted them in you workspace.
At this time, you should be able to run the Simple-Android-OCR-master project.In case you have errors, don’t panic.continue reading.
You can import each project at a time in case you had extracted in different locations.
Step 4. Mark the tess-two project as a library if its not marked already.
Right click>properties>Android>Check is library.
Step 5. Reference the tess-two project in the other project.
Right click project >Properties>Android>Add, select tess-two.
At this time, all errors should have disappeared and you should be able to run Simple-Android-OCR-master project and test the app on a device with a camera.
I will write another tutorial very soon on how to improve the output. Feel free to leave a comment.