I\'m trying to use MODI to OCR a window\'s program. It works fine for screenshots I grab programmatically using win32 interop like this:
public string SaveScreen
I had the same issue while using the
doc.OCR(MODI.MiLANGUAGES.miLANG_ENGLISH, true, true);
on a tiff file that was 2400x2496. Resizing it to 50%(reducing the size) fixed the problem and the method was not throwing the exception anymore, however, it was incorrectly recognizing the text like detecting "relerence" instead of "reference" or "712017" instead of "712517". I kept trying different image sizes but they all had the same issue, until i changed the command to
doc.OCR(MODI.MiLANGUAGES.miLANG_ENGLISH, false, false);
which meant that i don't want it to detect the orientation and not to fix any skewing. Now the command works fine on all images including the 2400x2496 tiff.
Hope this helps out people facing the same problem