meego / tesseract-ocr

Automatically exported from code.google.com/p/tesseract-ocr
Other
0 stars 0 forks source link

tesseract ocr in cygwin #513

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
First of all, I would like to mention my requirements:
I have been working on an ANDROID Application since a couple of months. I need 
the code of OCR (Optical Character Recognition) in order to link that to my app 
through CYGWIN, JNI, NDK. I found that TESSERACT OCR is the only open source 
code available. I have downloaded the code of Tesseract OCR-3.00 from the 
following link:
http://code.google.com/p/tesseract-ocr/wiki/ReadMe
I successfully compiled the code in CYGWIN environment as per the steps 
mentioned in the "INSTALL" file present in the downloaded file. Finally all the 
MAKE files are generated. In order to use this code in my app, I need the ".so" 
file, which will be generated through CYGWIN..
Now, the problem am facing is:
I have imported the complete code Tesseract OCR into my Android app code in 
ECLIPSE as per the steps mentioned in the following link:
http://mindtherobot.com/blog/452/android-beginners-ndk-setup-step-by-step/
I had followed the procedure as mentioned in the above link..but importing the 
code of TESSERACT OCR is as tough as a hell when compared to the example given 
in the above link. The final step where the ".so" is to be created is not 
working in the case of OCR..
SUGGESTIONS: Plz suggest me the clear explaination on how to proceed with the 
next steps..plz do take some time to give clear explaination..

Thanks & Regards

Original issue reported on code.google.com by soma.pri...@gmail.com on 12 Jul 2011 at 4:49

GoogleCodeExporter commented 9 years ago
The article you cite gives an extremely basic example. It also mentions that 
"C++ support is rather limited". Tesseract is a complicated piece of software, 
and it's written in C++.

You might have better luck with Eyes-Free 
(http://code.google.com/p/eyes-free/), which has a version of Tesseract for 
Android, or even on the Android site (http://android.git.kernel.org/), which 
has a version of Tesseract 
(http://android.git.kernel.org/?p=platform/external/tesseract.git;a=summary).

I'm marking this invalid, because providing a complete walkthrough for every 
known compiler+operating system combination is just not possible, and because 
it's less an issue with Tesseract than it is your personal issue of 
unfamiliarity with Eclipse.

Original comment by joregan on 19 Aug 2011 at 2:59