Hello, i use tesseract3 in visual studio 2008 (vb)
i have one problem with character accents. my language is ITA
If i use tesseract.exe in C:\Program Files\Tesseract-OCR with a line
command
C:\Program Files\Tesseract-OCR\tesseract.exe FILEJPG FILEOUT -l ita
it WORKS, recognize accents
if i use vbnet application not it works
this is an example:
Dim variable As String = "tessedit_pageseg_mode"
Dim storedOSD As Integer = 0
_ocrProcessor = New TesseractProcessor()
Dim status As Boolean = _ocrProcessor.Init("", "ita", 0)
_ocrProcessor.GetIntVariable(variable, storedOSD)
Dim fully_psm_auto As Integer = 3
_ocrProcessor.SetVariable(variable, fully_psm_auto.ToString())
Using bitmap As Image = New Bitmap(PAth)
_ocrProcessor.Clear()
_ocrProcessor.ClearAdaptiveClassifier()
Dim result As String = _ocrProcessor.Apply(bitmap)
msgbox result
end using
WHY?
thank you
--
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