flutter_mobile_vision icon indicating copy to clipboard operation
flutter_mobile_vision copied to clipboard

Equal sign " = " not recognized by OCR on android

Open ibaiC opened this issue 6 years ago • 3 comments

When recognizing text using the OCR function equal signs seem to not be detected at all. On rare occasions when the equal signs are in between alphanumeric characters the equal signs are recognized as " - " characters which is wrong.

ibaiC avatar Jan 28 '19 13:01 ibaiC

Hi @ibaiC,

could you provide an image to do OCR tests?

edufolly avatar Feb 05 '19 14:02 edufolly

Hi @edufolly , I have an example of this issue. It took place in live ocr recognition. The testing documents contains the string h4QJJPSXjPfaCnivEuYdRQDZ5aBBJS5QpA== the == at the end of this string is not recognised or recognised as something else. The results are attached.

screenshot_20190205_173808_com example mobileapp screenshot_20190205_173758_com example mobileapp screenshot_20190205_173632_com example mobileapp

XYUnknown avatar Feb 05 '19 17:02 XYUnknown

@edufolly It appears as though any instance of an equal sign in any image is simply not recognized. You can test it out with the following string.

foo = bar , and bar = foo. Two signs == also don't work ==+=++++====

This could possibly come from a problem with the resolution of the frames being processed ? Perhaps the resolution is not clear enough and the equal signs are being rendered into a shape that the model believes is a dash " - " instead of an equal sign as we have noticed through some tests.

I have looked through your code but was unable to fix the issue on a local copy of the package.

ibaiC avatar Feb 10 '19 17:02 ibaiC