04-24-2013 11:25 PM
Hello Sir,
I am working on character recognition using LabVIEW Vision and facing problem with image processing.
I need to segment characters in an image that have different backgrounds e.g dark(black) characters having bright(white) background and bright(white) characters with dark(black) background.
I am using background correction and this works well for dark characters having bright background but for bright characters with dark background i am facing difficulty.
I have attached a snapshot of the image.
Please suggest some solution.
Thanks,
Saukhyada
04-25-2013 08:02 AM
Try running a histogram for the area you are interested in, and see if the average is lower for the light characters on a dark background. If it is then invert the section to allow you to use the same font file. Create the ROI from the edges of the dark section.
Mike