Holy Kaw!

All the topics that interest us.

Programmer creates algorithm that can find Waldo


The things programmers do when they get bored are more impressive than the things the majority of us do when we’re trying. Take this incredible algorithm capable of making computers find Waldo with ease. It’s the handywork of Heike, a computer whiz with too much time on his hands.

Here’s how he did it:

First, he filtered out all of the colors that aren’t red. Next, he calculated the correlation of the Waldo scene to a black and white image in order to find the red and white transitions in Waldo’s iconic shirt. Then, he picks out the pixels in that image that were found to have a high correlation, and draws a white circle around them. He had to fidget with the level of the image, as when it is too high, the code identifies false positives. Finally, he compares the image the code was working on — the compared one — and joins it to the original Waldo scene.

Full story at GeekOSystem.

Get your geek on.

Posted by

Comments are off for this post.

  • Chris

    Spoiler Alert!