Demonstration of the effects of different types of transformation.
Check my blog posts with nice animations:
Medium
Personal Homepage
Usage:
# Install dependencies
pip install -r requirements.txt
# Create images for each type of transformation
python homography.py
# Feed custom image
python homography.py -p "./path/image"
# Interactive mode for different transforms
python homography.py -i e
python homography.py -i s
python homography.py -i a
python homography.py -i p