How to edit image to read text with OCR

asked 2018-07-20 05:21:13 -0500

ciolo gravatar image

I'm developing an android app to recognize text in particular plate, as in photo here: plate

I have to recognize the texts in white (e.g. near to "Mod."). I'm using Google ML Kit's text recognition APIs, but it fails. So, I'm using OpenCV to edit image but I don't know how to emphasize the (white) texts so OCR recognize it. I tried more stuff, like contrast, brightness, gamma correction, adaptive thresholding, but the cases vary a lot depending on how the photo is taken. Do you have any ideas? Thank u very much.

edit retag flag offensive close merge delete