Android OCR using tess-two - a fork of tesseract
I am using OCR as a module in a project I am doing. After a deep dash for a week, I thought I should run a test app on eclipse to see how accurate it is. I found a tess-two fork of tesseract as my OCR support. I downloaded tess-two from:
https://github.com/rmtheis/tess-two/downloads
I installed everything, I imported tess-two in my eclipse. I have set my eclipse to handle and build projects using my own code. I successfully created tess-two after solving 1 or 2 build path errors. DONE!
Then I found a simple OCR application that used the same tess-two. i load it from:
https://github.com/GautamGupta/Simple-Android-OCR
I have imported this project into my workspace. Fixed the build path in which I included tess-two as a supporting project in the build path. When I successfully create two projects and run them on my target device, the application works successfully. when I start the camera with a button that the camera opens, but when I save the image so that the ocr works on it, I get an exception:
could not find class 'com.googlecode.tesseract.android.TessBaseAPI' referenced from method com.datumdroid.android.ocr.simple.SimpleAndroidOCRActicity.picturetaken'
This was an exception thrown by logcat on eclipse. Any idea how I can handle and remove this exception? Tess-2 was target android-8 and the simple ocr app was targeting 10.
source to share