Skip to content

Instantly share code, notes, and snippets.


Timothy J. Wood tjw

View GitHub Profile
tjw /
Last active Aug 29, 2015 — forked from swizzlevixen/
Python OpenCV program to extract ticket stub images from photographs, via automatic perspective correction for quadrilateral objects.
# coding: utf-8
import cv2
import sys
import numpy
from matplotlib import pyplot as plt
from scipy.spatial import distance