Hi Since you're using VB have you tried replacing "D:\\ImageCrop\ \ImageCrop\\tessdata with "D:\ImageCrop\ImageCrop\tessdata" since you don't need to escape the backslash as in C#.
Cheers Raj On Jan 3, 10:12 am, ankseth <[email protected]> wrote: > Dim bmp As Bitmap > > bmp = New Bitmap(picFrm.Image, picFrm.Width, picFrm.Height) > > Dim ocr As New tessnet2.Tesseract() > ocr.SetVariable("tessedit_char_whitelist", "0123456789") > ' If digit only > ocr.Init("D:\\ImageCrop\\ImageCrop\\tessdata", "eng", False) > ' To use correct tessdata > Dim result As List(Of tessnet2.Word) = ocr.doOCR(bmp, > Rectangle.Empty) > For Each word As tessnet2.Word In result > Console.WriteLine("{0} : {1}", word.Confidence, word.Text) > Next > > I am Using VB as Programming Lang The Program exit on Init Method > without giving any error -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/tesseract-ocr?hl=en

