Click here to Skip to main content
15,868,340 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How to read text from the selected Image area using MODI OCR?

I am able to extract the entire text from the image. But I want to read the text from the selected image area using MODI OCR.

My code is as follows:

C#
MODI.Document md = new MODI.Document();

            md.Create(fileName);

            md.OCR(MODI.MiLANGUAGES.miLANG_ENGLISH, true, true);

            MODI.Image img = (MODI.Image)md.Images[0];

            MODI.Layout layout = img.Layout;

            layout = img.Layout;

            string result = layout.Text;

            md.Close(false);


            return result;
Posted
Updated 27-Nov-14 4:55am
v2
Comments
Member 12675404 9-Aug-16 4:28am    
im not getting exact text what is there in image

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