deskew
deskew copied to clipboard
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...
It will be awesome to have more releases a) `linux ARM64` and b) `macOS-arm64`. I would like to use this CLI in linux docker running over Apple M1 computer.
Right now skew detection is by default done in \[-10°, 10°\] angle range. This limitation is there to keep the time taken by the detection reasonable for the most likely...
Content rectangle can be auto detected by scanning the image (*after thresholding*) from the sides and looking where non-white pixels start. If it's fast enough it could be a default...
Request came in to extend "-b" background color parameter to take it's value from the input image (edge/corner). https://galfar.vevb.net/wp/projects/deskew/comment-page-2/#comment-184847 > One request if at all possible is can there be...
Right now you use "-r 100,200,600,700" to explicitly specify the content rectangle in pixels but useful can be also to specify it using margins e.g. take 20% left and 10%...
First step in the skew detection is thresholding: converting the input image to 1bit black and white. . The trouble is determining the right threshold value - pixels with lower...
Default compression scheme when outputting TIFF file is always LZW (and G4Fax for 1bit images) - defaults of Imaging library. This can be overriden by using "-c tSCHEME" cmd. line...
Exception Message: LibTIFF