using MODI in C# to read image - numbers with a length of 1 is missing
Posted
by keysersoze
on Stack Overflow
See other posts from Stack Overflow
or by keysersoze
Published on 2010-03-20T13:18:00Z
Indexed on
2010/03/20
13:21 UTC
Read the original article
Hit count: 393
I am about building an C#-application in which I am trying to read text from an gif-image (OCR) - I am using MODI and the images are a bit like a lotto coupon (random numbers in rows and columns). I now got the following code which read all numbers except single numbers (1, 2, 3...)
MODI.Document objModi = new MODI.Document();
objModi.Create("C:\\image.gif");
objModi.OCR(MODI.MiLANGUAGES.miLANG_DANISH, true, true);
MODI.Image image = (MODI.Image)objModi.Images[0];
MODI.Layout layout = image.Layout;
I cannot change the content of the image but can I do anything with the above code so it can read the single numbers?
© Stack Overflow or respective owner