.NET OCRing an Image

后端 未结 7 664
挽巷
挽巷 2021-02-06 05:56

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         


        
7条回答
  •  逝去的感伤
    2021-02-06 06:24

    doc.OCR(MODI.MiLANGUAGES.miLANG_ENGLISH, false, false);
    

    Which means that I don't want it to detect the orientation and not fix any skewing. Now the command works fine on all images including the 2400x2496 tiff.

    But image should be in .tif.

    Hope this helps out people facing the same problem.

提交回复
热议问题