warped text lines

87 views
Skip to first unread message

haratron

unread,
Dec 21, 2016, 11:36:52 PM12/21/16
to tesseract-ocr
Does tesseract provide a way to dewarp warped text lines?

Junmock Lee

unread,
Dec 21, 2016, 11:50:07 PM12/21/16
to tesseract-ocr
How about RIL_WORD or RIL_SYMBOL instead of RIL_TEXTLINE?

haratron

unread,
Dec 21, 2016, 11:54:31 PM12/21/16
to tesseract-ocr
No, I want to dewarp the warped lines of a page of a book. The warped lines is due to perspective distortion (picture acquired with the camera of a mobile phone) and curvature of the book. RIL_WORD or RIL_SYMBOL wouldn't help with that. 



--
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 tesseract-ocr+unsubscribe@googlegroups.com.
To post to this group, send email to tesser...@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/a43133a5-d056-40e7-a0a6-33a27348457b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Zdenko Podobný

unread,
Dec 22, 2016, 3:06:49 AM12/22/16
to tesser...@googlegroups.com
You can use leptonica (tesseract dependancy) for this taks.
Have a look at e.g. function dewarpSinglePage.
Leptonica has several example programs in prog directory that has "dewarp" in filename - maybe this can help you too.

Zdenko

Reply all
Reply to author
Forward
0 new messages