Hi,
I got an image with 2 colors, black (background) & white (text color), text is "A B C D"
I have extracted the white pixels locations, & now I want to figure out the alphabets that are written in this image.
Kind of like a screen reader does.
I am thinking I make a set of images with all 26 alphabets, & compare these 2 images, the pixels I got from the original image against all 26 to see which alphabet I got.

Is there a way in java to compare 2 images, or is there some other concept for text recognition?

Please let me know.
Thanks

I forgot to mention, If comparing pixels, how will I check for font changes? Ex, alphabet "A" will look different in "Arial" from that in "impact". The pixels will change a lot, specially if the font-size is also different.
Thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.