如何配置的tesseract在Eclipse的Android开发? [英] How to configure Tesseract in Eclipse for Android development?
问题描述
我一直在Android上6个月。所以我对Android开发基本思路。 现在,我想开发利用的tesseract的OCR Android应用程序。 对于我在Eclipse中下载的Android NDK-R6B,苔丝 - 两个来自的tesseract,Cygwin的用于Windows和安装的C / C ++开发。
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.
和我跟着这两个环节:
1.http://www.itwizard.ro/interfacing-cc-libraries-via-jni-example-tesseract-163.html
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/
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.
任何人都可以建议我如何从年初的tesseract配置在安卓(一步一步)?
Can anyone suggest me how to configure tesseract in Android from beginning (step by step)?
推荐答案
在你的链接#2的说明使用的cygwin不工作 - 你必须建立使用Linux。我已经验证了这些指示工作。因此,尝试使用,而不是cygwin的Linux操作系统。
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.
如果您使用的是说明你的链接#2,你不要在你的链接#1在所有需要的指令 - 它拥有你所需要的JNI已有
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.
这篇关于如何配置的tesseract在Eclipse的Android开发?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!