简体   繁体   中英

Optical Character Recognition Android with OpenCV

I'm currently working on a project which involves optical character recognition in Android and really need some pointers from somebody who has some experience in the area.

I was told to start off by setting up OpenCV with Android ( Set up OpenCv with Android ) and going from there. Since then I have set up OpenCV and have all the samples ( OpenCV android samples ) and tutorials which come with it working.

My problem is that I can't find a solid direction to go in from here, I found a related question here whose answer points to a tutorial however I am unsure if it will work with Android.

I am basically stuck trying to pick between continuing with OpenCV or trying other tools I have been reading about like tesseract or pure java implementations .

Any advice about what direction to choose would be greatly appreciated, Thanks, Celic.

TL;DR Need Advice about best Optical Character Recognition Implementation in Android

You can take a look at JavaCV which a java interface to OpenCV

You can check something like Tesseract Android Tools (very decent): http://code.google.com/p/tesseract-android-tools/

Here is a heads up for a problem we all run into at the beginning when using it: Bytes Per Pixel value for byte representation of image in Android (if you are using the camera ofc)

There's a tutorial here that's based on a fork of Tesseract Tools for Android. To get good results, you'll probably need to preprocess your images using some kind of thresholding.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM