I am working on images with single character. However, tesseract is unable to recognize them.
This is how I initialized it:
tess.Init(NULL, "eng", tesseract::OEM_DEFAULT);
tess.SetPageSegMode(tesseract::PSM_SINGLE_BLOCK_VERT_TEXT);
tess.SetVariable("tessedit_char_whitelist", "ABCDEFGHIJKLMNOPQRSTUVWXYZ");
This is what i do for recognition:
tess.SetImage((uchar*)rotatedImage.data, rotatedImage.cols,
rotatedImage.rows, 1, rotatedImage.cols);
char* out = tess.GetUTF8Text();
I am attaching images
--
--
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
---
You received this message because you are subscribed to the Google Groups
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.
<<attachment: 1.jpg>>
<<attachment: 2.jpg>>
<<attachment: 3.jpg>>

