Skip to content

Instantly share code, notes, and snippets.

@chsasank
chsasank / homography.py
Created April 20, 2016 06:34
Homogprahies useful for data augmentation. Quite fast.
import numpy as np
from skimage import io
from skimage import transform
import matplotlib.pyplot as plt
import math
import time
I = io.imread('random_img.jpg')
# Homography