android中的离线图像到文本识别(OCR) [英] Offline Image To Text Recognition (OCR) in android
问题描述
如何构建用于图像识别文本的android native SDK. (我对Web服务中的一些API表现很好.但是这一次,我只想使该应用程序没有任何Internet连接,没有API,也没有Web服务.只是一个离线 OCR应用程序). 所以我的问题是
How to build the android native SDK for image to text recognition. (I have done well with some APIs from web services. But this time, I just want to make the app without any Internet Connection, no APIs, and no Web Services. Just an offline OCR app). So my question here is
- 如何裁剪图片中包含的每个单词?
- 如何比较经裁剪的文本和字母和字符?
- how to crop each and every word containing in the image?
- how to compare the cropped text with the alphabets and characters?
推荐答案
我猜你可以使用 github上的tess-two项目,它非常易于使用并且提供了很好的OCR结果
I guess u can use Tesseract OCR Tool, an open source alternative by Google. How to integrate that in Android is simple via Tesseract Android Tools Have a look at the tess-two project on github, it's very easy to use and gives good OCR results
这篇关于android中的离线图像到文本识别(OCR)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!