I have a scanner application with a name to help create new contacts that follow the following steps:
- User takes a picture
- User crop image
- The system displays a cropped image to confirm cropping
- Extract image snapshot and run OCR
- The system receives recognition results and fills in contact fields (for example, name, phone number, address, etc.).
- The user can edit and save the contact.
But. I now hope to improve the accuracy of the OCR process to get better results for OCR scanning.
I heard about this process that binarizes the image and makes it more accurate for OCR scanning.
I try to send my image to this new process in step 3, where the system displays the user cropped and already binarized image to confirm cropping.
After some research, I found several methods, such as TextCleaner, ImageMagick and some others. However, I cannot find an implementation on Android. This is the closest of this link: Binarize Image on Android
However, I can not make the answers to this question in my codes. I am currently using Android Studio 1.5.1.
My codes are collected at this link: https://github.com/TheWall89/AndrOCR
java android ocr bitmap colormatrix
Donovan tan
source share