Skip to content

Instantly share code, notes, and snippets.

@eyalzek
eyalzek / imgcmp.py
Last active August 29, 2015 14:14 — forked from attilaolah/imgcmp.py
Changed from source to compare only the first arg to the rest instead of cross comparing all args.
import math
import Image
import Levenshtein
class BWImageCompare(object):
"""Compares two images (b/w)."""
_pixel = 255