Jump to content
News Ticker
  • Minecraft Server 1.19 is Live!
  • Monster Hunter Sunbreak Out Now!
  • WoW Season 4 Starting 8/2/2022

Black Desert Online

System Daemons

Python Script to find and merge differences


Awesome_Taco
 Share

Recommended Posts

I was bored at work and saw a nice challenge of putting together (a not so hard) puzzle for the new TeamSpeak 5. 

On their twitter: https://twitter.com/teamspeak
There are puzzle images of what we are to believe is the next teamspeak UI. 

I thought it would be fun to have Python do the work for me. 

So it is quick and dirty but should still make sense. 

 

from PIL import Image, ImageChops
 
image_one = Image.open('1.jpg')
image_two = Image.open('2.jpg')
image_three = Image.open('3.jpg')
image_four = Image.open('4.jpg')
image_five = Image.open('5.jpg')
image_six = Image.open('6.jpg')
image_seven = Image.open('7.jpg')
image_eight = Image.open('8.jpg')
image_nine = Image.open('9.jpg')
image_ten = Image.open('10.jpg')
 
diff = ImageChops.difference(image_one, image_two)
diff2 = ImageChops.difference(diff, image_three)
diff3 = ImageChops.difference(diff2, image_four)
diff4 = ImageChops.difference(diff3, image_five)
diff5 = ImageChops.difference(diff4, image_six)
diff6 = ImageChops.difference(diff5, image_seven)
diff7 = ImageChops.difference(diff6, image_eight)
diff8 = ImageChops.difference(diff7, image_nine)
diff9 = ImageChops.difference(diff8, image_ten)

diff10 = ImageChops.invert(diff9)
 
diff10.save('diff.jpg')

They have 10 images at the time I wrote this, so we are missing 2 more. I named them in order, not really necessary, you can create an empty folder and just have it open all images in directory with a loop.

 

Here is the result:

image.png.60d655fac434f974a07708bb34e980b8.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

Popular Topics

About us

Warpigs is a semi-hardcore multi game community, for both MMOs and other genres. Our core, which has largely remained the same, started back in 2014. Warpigs first got started in Wildstar and has since branched out to several other game including, Black Desert Online, Overwatch, Heroes of the Storm as some of our most active games. We also have a strong internal following for both Dauntless and Ashes of Creation.
 

Warpigs function as a tight knit family-esque guild, which is not to say that our conversations are G-rated. Quite the opposite, but when you're one of us, we've got your back. Words fly pretty freely, and I'm always of the opinion that if you play an MMO, or any game with a social player base, you need thick skin and know not to take things personally. With that being said, we are a well organised and have a fairly mature membership, and as such we offer a very stable guild that we hope will be here for many more years to come.
 

Warpigs are dedicated to a friendly, team focused, fun-loving gaming environment where every member is important and not just a number on a roster. We seek to foster long term friendships among members and enhance the online gaming experience by virtue of those friendships.

×
×
  • Create New...