Click here to Skip to main content
15,889,527 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All,

I want to read dotted character image with EGMU + C#

For reference please see the image as below :

http://www.armstrongltd.com/cms/Media/media/temp/example.jpg

Regards,
Nitin
Posted

1 solution

I suppose you mean Emgu.

This is a typical OCR problem. A possible solution path is:

a) Do a vertical shadow projection of the image and determine thereby the horizontal positions of the glyphs.

b) Calculate the enclosing frame for each glyph

c) Binarize the glyph frame contents with a suitable threshold

d) Compare the binarized glyph with a set of reference images that represent the glyphs in your glyph set. Find the reference glyph that matches you current glyph best. Verify that the similarity with the reference glyph is above a certain recognition threshold. Verify also that there is no other glyph in the reference set that matches also good enough.

Your example image looks like it was written with a laser. Such images ofter suffer from skewing and variable horizontal pitch. So you will probably have to compensate for these distortions by some pre-processing.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900