Created
October 29, 2015 01:31
-
-
Save CptSpaceToaster/8ae4dcf57424421740f2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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