Fun With Sorting Algorithms

Posted by & filed under algorithms, programming, python, Tech.

My wife and I are avid board gamers, but oddly one of the the things we enjoy most is organizing the game itself. We’ve often joked about buying a game just to organize it. I love the “pop” as the chits break free from their cardboard bonds; discovering how each piece looks and sorting them according to size, shape… Read more »

Simple Image Hashing With Python

Posted by & filed under algorithms, python.

Perceptual image hashing is a way of creating a fingerprint of an image based on its visual appearance. This fingerprint makes comparing similar images much easier. Algorithms like the one below are used for many purposes, most notably Google’s Image Match where you can provide an image and it will return a listing of images that are… Read more »