OCR为Android [英] OCR for android

查看:191
本文介绍了OCR为Android的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发一个Android应用程序中,我期待从相机模式这是10个字符的数字或字母(就像我们在QR读者看到)一个字.Are有任何的API可用的?

I am developing an android application in which i am looking for the pattern from camera which is a word of 10 character number or alphabet(just like we see in QR reader).Are there any API's available for it ?

推荐答案

据我知道有没有本地开源的Java软件开发工具包OCR。还有的Java API用于包装要求原生接口,例如,最流行的开源OCR引擎之一 - 的tesseract(http://groups.google.com/group/tesseract-ocr/) - 也有一些Java包装像tesjeract上(http://$c$c.google.com/p/tesjeract/)或Tess4J(http://tess4j.sf.net/)。这可能为你工作,但它是相当难以成立,将需要开发在你的身边图像 - preprocessing和字体的培训。

As far as i know there are no native opensource Java OCR SDKs. There are Java APIs which wrap calls for native interfaces, for example, for one of the most popular opensource OCR engines - Tesseract (http://groups.google.com/group/tesseract-ocr/) - there are some Java wrappers like tesjeract (http://code.google.com/p/tesjeract/) or Tess4J (http://tess4j.sf.net/). That could work for you, but it's rather hard to set up and will require developing image-preprocessing and font training on your side.

还有一个解决办法是云服务。它要求最终用户应用程序有互联网连接,但它是独立于编程语言的选择和资源的限制。看一看 www.ocrsdk.com的OCR Android中的,它是一个基于云计算的OCR可以让您通过网络API上传图片,并返回的数据进行OCR SDK。

One more solution could be a cloud service. It requires end-user application to have the internet connection, but it's independent from your programming language choice and resources limitations. Have a look at www.ocrsdk.com for ocr in Android, it's a cloud-based OCR SDK that let you upload an image through web API and returns you the OCRed data.

这基于OCR SDK的Web API是不是免费的,这可能不适合你,但我还是建议你尝试一下(它有一个免费90天试用无任何前期费用),因为它的定价是比较真的实惠与企业解决方案,同时它提供了企业级的OCR准确度这是比开源更好。

This Web API based OCR SDK is not free, which may not be suitable for you, but i still recommend you try it out (it has a free 90 days trial without any upfront charges) as its pricing is really affordable in comparison with enterprise solutions while it provides enterprise-level OCR accuracy which is way better than open source.

您也可以找到有用的这个的Andr​​oid codeSAMPLE 在GitHub的(你需要获取 http://ocrsdk.com API密钥使用它)。 Disclamer:我的工作@ ABBYY

You may also find useful this Android codesample at github (you need to get API key at http://ocrsdk.com to use it). Disclamer: i work @ ABBYY.

这篇关于OCR为Android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆