I had a similar issue.  I couldn't get the config to work but basically added 
this line to my code and it worked:

    api.SetPageSegMode(tesseract::PSM_SINGLE_COLUMN);

For some reason, the tesseract binary doesn't pick up the config, but I copied 
the binary source and added that.

Max


On Mar 30, 2011, at 2:31 PM, Patrick Kirsch wrote:

> Hey,
> 
> I'm sure it has to be a config switch, but I did not found the
> following situation in the archives, so I'm asking:
> I would like to disable the automatic newline insert, if a table is
> recogniced.
> Let me explain: the layout of the input image is similar to:
> 
> Header
> Key:                           Value
> Key2:                         Value2
> ...
> 
> but tesseract results in:
> Header
> Key:
> Key2:
> Value
> Value2
> ...
> 
> But I would expect:
> Header
> Key: Value
> Key2: Value2
> ...
> 
> I'm susing: tesseract 3.00
> 
> Regards,
> Patrick
> 
> 
> -- 
> 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 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