What kind of OCR Java library should I use in Andr

2020-01-25 04:23发布

I would like to build an Android application that, via an OCR library, should scan a picture extracting text from it .

What Java library should I use?

标签: java android ocr
4条回答
乱世女痞
2楼-- · 2020-01-25 04:54

If you are looking for a very extensible option or have a specific problem domain you could consider rolling your own using the Java Object Oriented Neural Engine.

I used it successfully in a personal project to identify the letter from an image such as this, you can find all the source for the OCR component of my application on github, here.

查看更多
beautiful°
3楼-- · 2020-01-25 05:11

try tesseract, checkout this article http://www.itwizard.ro/interfacing-cc-libraries-via-jni-example-tesseract-163.html and this example http://code.google.com/p/mezzofanti/

Edit: some more facts - tesseract is one of the best open source OCR used by google - there is training data available for many languages - mezzofanti is an android app that uses tesseract - beware: OCR does use a lot of CPU power. trying to OCR a A4 page with your T-Mob G1 will take a lot of time and the result may not impress you ;-)

查看更多
SAY GOODBYE
4楼-- · 2020-01-25 05:16

You can use the OCR feature from Google Docs. Check the Documents List Data API http://code.google.com/apis/documents/docs/3.0/developers_guide_protocol.html#OCR

查看更多
Melony?
5楼-- · 2020-01-25 05:17

Don't know how good it is (it definitely needs to be trained first), but there is Ron Cemer's Java OCR library.

查看更多
登录 后发表回答