Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
color_divide = numpy.array([2, 2, 2, 1])
def do_compare(pic1, pic2):
return ((pic2 - pic1) + 255)//color_divide
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment