Helps you transform a photo to a scanned document
If you have an image of a document maybe you would like to crop everything outside the document and correct the angle from which the photo was taken, in that case this command line tool might help.
Originally forked from KMKnation/Four-Point-Invoice-Transform-with-OpenCV
This code is inspired from 4 Point OpenCV getPerspective Transform Example
- Via pipx
pipx install image_to_scanif you want to install inside an isolated environment.
- Via pip
pip install image_to_scanto an enviroment of your choice.
image-to-scan depends on
numpy which together will take around
After installing it an entry point
image-to-scan will be added.
|Original Image||Output Image|
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
image-to-scan-0.0.6.tar.gz (880.3 kB view hashes)
Hashes for image_to_scan-0.0.6-py3-none-any.whl