您好我必须开发一个应用程序来读取OCR数据。
谷歌搜索后,我发现我可以使用Tesseract实现它。
我从https://github.com/rmtheis/tess-two
获得了Tesseract源代码我通过从http://dl.google.com/android/ndk/android-ndk-r9-windows-x86.zip
下载NDK获得了它的库现在提取它假设我已将其解压缩到E:\ Software \ android-ndk-r9所以我将在环境变量上设置此路径
右键单击MyComputer-> Property-> Advance-System-Settings-> Advance-> Environment Variable->在Box下面的第二个找到PATH并设置如下图所示的路径
现在打开cmd并转到D:\ Android Workspace \ tess-two,如下所示
现在也从https://github.com/rmtheis/tess-two下载了其他源代码,并提取并导入它并将其命名为OCRTest,就像在我的PC中一样,在D:\ Android Workspace \ OCRTest
所以我通过best OCR (Optical character recognition) example in android
的帮助成功编译了这两个项目但我的问题是当我点击捕获按钮然后它产生错误的文本。
如果有人这样做了,请帮助我......
提前多多感谢....
答案 0 :(得分:1)
检查abbyy OCR比Tesseract
更准确ABBYY offers its compact OCR Engine for Android
The latest Android smart phones have
* good auto focus cameras and
* more than 3 megapixel
* so they are perfectly equipped to take sharp pictures of documents that contain textual information.
Implementing OCR on Android based applications can turn the phone in a information/text capture device. The data can be
* processed directly on the phone, for example add a new contact to the address book
* sent to a sever to get more information
* sent to a text to speech engine
* sent to a translation service
New in V4 R5: Java Native Interface Wrapper (JNIWrapper) is included!
New in V4 R7: Barcode Recognition is included!
定价明细http://ocrsdk.com/plans-and-pricing/
了解更多 - > http://www.abbyy-developers.eu/en:mobile-imaging-sdk:start