Skip to content

Instantly share code, notes, and snippets.

Avatar

Timothy J. Wood tjw

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