How to get paragraph wise text in Tesseract ?

140 views
Skip to first unread message

Satya Swaroop

unread,
Sep 18, 2014, 8:27:11 AM9/18/14
to tesser...@googlegroups.com
I am new to development, I am using tesseract to get text from image.Its all working fine but the text on image is returning as single paragraph though there are many paragraphs.In the attached image it has to return each message as each paragraph but its returning the text as whole paragraph.How do I resolve this? Please help me.
hi.jpeg

Albrecht Hilker

unread,
Sep 18, 2014, 12:51:39 PM9/18/14
to tesser...@googlegroups.com
Did you try

SetPageSegMode(PSM_AUTO)

Satya Swaroop

unread,
Sep 19, 2014, 7:29:07 AM9/19/14
to tesser...@googlegroups.com
Yes,but it did not solve my issue.

On Thursday, September 18, 2014 10:21:39 PM UTC+5:30, Albrecht Hilker wrote:
Did you try

SetPageSegMode(PSM_AUTO)
Reply all
Reply to author
Forward
0 new messages