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.
Command line tool for deskewing scanned documents. Binaries for several platforms and test images included.
v1.30 2019-06-07:
v1.25 2018-05-19:
Command line tool for deskewing scanned documents. Binaries for several platforms and test images included.
1.25 2018-05-19:
1.21 2017-11-01:
Now it’s easier to process many files without writing shell scripts. It needs the command line tool which is called for the each input file. You can set the basic and most of the advanced options for deskewing in the GUI.
Prebuilt executables for Windows and Linux are available in the download – you just place them to the same folder as the command line tool. Version for macOS is a bit more convenient – it’s a self-contained app bundle with CLI tool already inside and all placed in DMG image. You can also set the explicit path to the command line tool in the program itself.