Optical Character Recognition Android with OpenCV

2019-03-10 03:51发布

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

2条回答
Animai°情兽
2楼-- · 2019-03-10 04:18

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)

查看更多
你好瞎i
3楼-- · 2019-03-10 04:31

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.

查看更多
登录 后发表回答