Deskew Tools

Deskew is a tool for deskewing scanned text documents. Deskewing is a term used for fixing the scans to get the lines of text straight. That means rotating the image of the scanned page a little to compensate for the misalignment of the paper in the scanner.

Deskew uses Hough transform to detect “text lines” in the image and their orientation. As an output, you get an image rotated so that the detected lines are horizontal. You can find more theory in introductory post Deskewing Scanned Documents if you are curious.

At the moment, Deskew is a command line tool for Windows, Linux, and Mac. Based on the user feedback and my own usage, I’d say it works quite well 🙂 On occasion, I think about stuff like: GUI for Deskew, Deskew app for Android, Deskew web app, and even Deskew Photoshop plugin!

All Posts About Deskew

Downloads

  Deskew 1.20
» 4.1 MiB - 6,249 hits - January 5, 2011 (last update November 1, 2016)
Command line tool for deskewing scanned documents. Binaries for several platforms, test images, and Object Pascal source code included.

Source Code

Public Mercurial source repository of Deskew CLI tool is now hosted at BitBucket: https://bitbucket.org/galfar/app-deskew.

12 thoughts on “Deskew Tools

  1. I tried to use this amazing tool in ubuntu server 64 bit using deskew64 command line, I got the following error:
    ./deskew64: error while loading shared libraries: libtiff.so.5: cannot open shared object file: No such file or directory

    Regards
    Husam Haddad

      • Thank you, actually I have Ubuntu Server 12.04, in order to include libtiff5 package I have to upgrade at least to Ubuntu Server 12.10.

      • Unfortunately, there’s tiny API change going from libtiff4 to libtiff5. Deskew can work with only one of them – so I chose the newer one.

  2. Elegant, excellent. Thank you.

    The precompiled ../Bin/deskew works flawlessly under Linux openSUSE 13.1 64-bit.

    I’ll give you a plug on my site shortly.

    Thank you again.

    Cheers, Andy

  3. Nice program to deskew an image. Is there an option to generate the output with no loss in quality ? I have noticed that JPEGs get compressed to lesser quality.

    Cheers,
    Arun

Leave a Reply

Your email address will not be published. Required fields are marked *