I am trying to segment warped text lines found in photos taken from a page of a book (from the camera of a smartphone). This is meant as a preprocessing step before running OCR on them.
I have found two relevant papers on this:
I read the papers but they're too hard to implement, can anyone help?
Example input no.1:
Example input no.2: