galfar / deskew

Deskew is a command line tool for deskewing scanned text documents. It uses Hough transform to detect "text lines" in the image. As an output, you get an image rotated so that the lines are horizontal.
http://galfar.vevb.net/deskew
Mozilla Public License 2.0
164 stars 26 forks source link

Optional auto-crop after rotation #17

Closed galfar closed 5 years ago

galfar commented 5 years ago

Original report by Marek Mauder (Bitbucket: galfar, GitHub: galfar).


galfar commented 5 years ago

Original comment by Marek Mauder (Bitbucket: galfar, GitHub: galfar).


Added an option to auto crop to the largest (proportional) rectangle that fits the rotated image, nothing fancy.

galfar commented 5 years ago

Original comment by Marek Mauder (Bitbucket: galfar, GitHub: galfar).