I have hundreds of documents, which are rounded: the document was not straight when it was photographed, and the image is curved or rounded in various ways.
I'm looking for an automatic or semi-automatic process, that will
- detect the lines (not OCR, just line curves),
- straighten the whole page according to the (assumed) text lines.
Can you point me a software or feature, or even code that tries to fix this?
example attached (original):
after an (imperfect) manual fix (gimp, cage transformation):