PetaPixel

Using a Face Detector to Generate Creepy Mugs from Random Polygons

The man in the moon and the face on mars. These are both the result of a psychological phenomenon known as pareidolia, which involves the brain trying to perceive random signals as significant. It’s one of the brain’s face detection mechanisms, and causes us to see faces where they don’t actually exist — the Virgin Mary’s face on toast, for example.

Programmer Phil McCarthy decided to play around with the idea of paredoila in artificial intelligence, and created a program called pareidoloop. It uses face detection algorithms to “see” human faces in randomly generated polygons.

The program is quite simple: it generates random polygons until the face detection algorithm (the kind cameras use to spot people in pictures) says that there’s a face in the image. This resulting image is then continuously mutated to constantly increase the face detections “confidence” (i.e. how certain it is that there’s a face in the image).

From the collage at the top of this post created by running the program for a few hours, we can see that this system is pretty good at randomly generating patterns that look eerily like faces.

If you’re interested in playing around with the program yourself, the demo is online in the form of a simple web app.

pareidoloop (via Boing Boing)


 
Get the hottest photo stories delivered to your inbox.
Get a daily digest of the latest headlines:
  • hootenannay

    I’ve seen worse coming out of bars on the Lower East Side on a Saturday night