When i try to use Deathader's MODI OCR code.
I get this error:
Code:
An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in ocr test.exe

Additional information: OCR running error
Please help me


I use this code:
Code:
Dim md As New MODI.Document()
        md.Create("C:\Users\Administrator\Desktop\Glowing-shiny-shadow-photoshop-text-effect.jpg")
        md.OCR(MODI.MiLANGUAGES.miLANG_ENGLISH, True, True)

        Dim image As MODI.Image = DirectCast(md.Images(0), MODI.Image)
        Dim layout As MODI.Layout = image.Layout
        Dim out As String = ""

        For j As Integer = 0 To layout.Words.Count - 1
            Dim word As MODI.Word = DirectCast(layout.Words(j), MODI.Word)
            out += " " & word.Text
        Next
        MsgBox(out)