Tesseract image.jpg -psm 10 out
On Friday, April 25, 2014, Chris Dopuch <[email protected]> wrote:
> Could you post the exact command line command you used to get good results
> for these images?
>
> On Thursday, April 10, 2014 11:03:20 AM UTC-5, Vipul Aggarwal wrote:
>>
>> 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 a topic in the
> Google Groups "tesseract-ocr" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tesseract-ocr/prHJdPF873Q/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected]<javascript:_e(%7B%7D,'cvml','tesseract-ocr%[email protected]');>
> .
> To post to this group, send email to
> [email protected]<javascript:_e(%7B%7D,'cvml','[email protected]');>
> .
> Visit this group at http://groups.google.com/group/tesseract-ocr.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tesseract-ocr/09a484c5-2015-445b-94fd-a8f1f551b2f4%40googlegroups.com<https://groups.google.com/d/msgid/tesseract-ocr/09a484c5-2015-445b-94fd-a8f1f551b2f4%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
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].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tesseract-ocr/CABgK-TfRoRtO4R7SLMkVXPBJEbDu_Et5k9P5na0jgiUDZgWfQg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.