I'm using using tessnet2 to get text from a .tif image. For example i want to get the decimal '700' from the image but i'm getting this : 'Mupann' I'm using french tessdata Here the code that i'm using:
ocr.SetVariable("tessedit_char_whitelist", "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz.,$-/#&=()\':?")
ocr.Init(Application.StartupPath & "\tessdata", "fra", False)
Dim result As List(Of tessnet2.Word) = ocr.DoOCR(captureTIF, Rectangle.Empty)
For Each word As tessnet2.Word In result
MsgBox(word.Confidence & " >> " & word.Text)
RichTextBox1.Text &= word.Confidence & word.Text
Next
Thanks