Binarize image before OCR scan

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

+3
java android ocr bitmap colormatrix
source share

No one has answered this question yet.

See similar questions:

5
Binarize Image on Android

or similar:

1832
Lazy loading images in a ListView
1207
Strange memory issue when loading image into Bitmap object
1187
Do I need a null check before calling instanceof?
1111
Is abandonment of an application incredulous?
31
Character recognition (recognition algorithm)
thirteen
OCR: image to text?
6
Android Tesseract OCR 7 segment digits
3
Android Bitmap Fatal signal 11 (SIGSEGV)
2
Deskew and filter the image for OCR
0
OCR image cropping problem

All Articles