Skip to content

Instantly share code, notes, and snippets.

@CptSpaceToaster
Created October 29, 2015 01:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CptSpaceToaster/8ae4dcf57424421740f2 to your computer and use it in GitHub Desktop.
Save CptSpaceToaster/8ae4dcf57424421740f2 to your computer and use it in GitHub Desktop.
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