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
165 stars 26 forks source link

Preserve DPI measurement system (TIFF) #6

Closed galfar closed 6 years ago

galfar commented 7 years ago

Original report by Marek Mauder (Bitbucket: galfar, GitHub: galfar).


From blog comments:

I found the problem. The source tiff was 300 dpi in pixels/inch, the program output 118.11 pixels/cm which is 300 pixels/inch. To avoid confusion you should preserve the source measurement system (metric or standard) as well.

galfar commented 6 years ago

Original comment by Marek Mauder (Bitbucket: galfar, GitHub: galfar).


Fixed Issue #6: Preserve DPI measurement system (TIFF)