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.
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..
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..