Optical Character Recognition Android with OpenCV

21,363

Solution 1

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)

Solution 2

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.

Share:
21,363
TomSelleck
Author by

TomSelleck

Updated on February 24, 2020

Comments

  • TomSelleck
    TomSelleck about 4 years

    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