0

You know the spot the difference puzzles. Is there a app that can do that automatically?

1
  • Do you just want different pixels flagged, or do you want software that lets you define what counts as a difference? What price? What input formats? Any output required, or display-only? Please edit your question.
    – user416
    Oct 15, 2015 at 14:49

1 Answer 1

4

There is an example of using python to do this visually for you here but to reproduce it:

  • Done on windows - Yes but could be on any of a number of platforms
  • Free

The code:

from PIL import Image
from PIL import ImageChops

a = Image.open("pict1.jpg")
b = Image.open("pict2.jpg")
diff = ImageChops.difference (a, b)
RED = ('red')
RL = Image.new('RGB', diff.size, RED) # Make a red layer the same size
RedDiff = ImageChops.multiply(RL, diff)
Result = ImageChops.blend(RedDiff, b, 0.7)
Result.show()

Example:

Inputs: enter image description here Output:enter image description here

Not the answer you're looking for? Browse other questions tagged or ask your own question.