Hello Jose,

Setting the mode to PSM_SINGLE_BLOCK or PSM_SINGLE_LINE will not force
horizontal reading. These modes will just assume that your input image
itself is segmented and consists of just a single line. So, if you want
horizontal reading you will have to segment your image and provide it to
tesseract like this:

WORD1    WORD2 (segmented image 1)

WORD1    WORD2 (segmented image 2)

Hope that answers your question.

--
Regards,
Saurabh Gandhi




On Fri, Feb 18, 2011 at 3:45 PM, Jose <[email protected]> wrote:

> this is JPG look like
>
> *WORD1  * WORD2 (white space is quite "big"
> *WORD1   *WORD2
> *WORD1   *WORD2
> *WORD1   *WORD2
> *WORD1   *WORD2
> *WORD1   *WORD2
> *WORD1   *WORD2
>
> and it reads like:
>
> *WORD1 *
> *WORD1 *
> *WORD1 *
> *WORD1 *
> *WORD1 *
> *WORD1*
> WORD2
> WORD2
> WORD2
> WORD2
> WORD2
> WORD2
> WORD2
>
> any help would be really apreciated! I've been stuck with this for a month
> :(
>
>

-- 
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.

Reply via email to