ocr results are
not what you expect, try one or more of the following options:
Increase image size 2-to-4 times larger.
If the characters in the image are too close together or their edges are touching, use morphology to thin out the characters. Using morphology to thin out the characters separates the characters.
Use binarization to check for non-uniform lighting
issues. Use the
imbinarize functions to binarize the
image. If the characters are not visible in the results of the binarization,
it indicates a potential non-uniform lighting issue. Try top hat,
or other techniques that deal with removing non-uniform illumination.
Use the region of interest
to isolate the text. Specify the
roi manually or
use text detection.
If your image looks like a natural scene containing
words, like a street scene, rather than a scanned document, try setting
TextLayout property to either