jbarth-ubhd / fix-perspective

MIT License
4 stars 1 forks source link

fix-perspective

Tool to compensate perspective distortion in document images

Installation

Install system dependencies (opencv4 and eigen3). On Ubuntu (and derivates), you can run

sudo make deps-ubuntu

To verify all system dependencies are met, run

make check

To just build the program, run

make

To also install into $PREFIX, run

make install

Usage

Reads the input image file under the first argument, writes its output image file under the second argument. (File name suffix determines image format.)

Example:

fix-perspective input_image.tif output_image.png

Limits