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

Add minimum tested pixel count to rotate the document #52

Open jmaslak opened 1 year ago

jmaslak commented 1 year ago

This is particularly useful for blank pages where deskew might detect a few pixels and try to rotate based on that, causing blank pages to rotate at weird angles..