You can set page segmentation mode with SetPageSegMode. See example on
wiki[1] or have a look at tesseract source code.

[1]
https://code.google.com/p/tesseract-ocr/wiki/APIExample#Orientation_and_script_detection_(OSD)_example

Zdenko


On Fri, Jan 3, 2014 at 8:02 PM, Benjamin Sølberg <
[email protected]> wrote:

> Thank you, i'll try that.
>
> Is it possible to achieve the same functionality by using a config
> parameter as I also need to run this on an iPhone ?
>
> Regards
> Benjamin
>
> Den fredag den 3. januar 2014 17.48.06 UTC+1 skrev Quan Nguyen:
>
>> Try with PSM 4, 5, or 6.
>>
>> On Thursday, January 2, 2014 6:12:53 PM UTC-6, Benjamin Sølberg wrote:
>>
>>> Hi all
>>>
>>> I am training tesseract to work with a custom font.
>>> Things are moving forward but there are clouds in the sky.
>>>
>>> When using tesseract it insists to cut the texts into sections.
>>> I understand why as the textual layout may seems to be column based.
>>> The text is very much like an excel sheet with columns.
>>> But I would very much like tesseract to give me all the text in one
>>> giant line based blob instead of many sections.
>>>
>>> Is it possible to make tesseract not chop up the image into (columns in
>>> my case) ?
>>>
>>> Regards
>>> Benjamin
>>>
>>>  --
> --
> 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/groups/opt_out.
>

-- 
-- 
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/groups/opt_out.

Reply via email to