Art + Code ♥ the dealwithit bot

The dealwithit bot is a web app that detects all faces in a photo and slides on a pair of pixel shades. Truly a worthwhile use of the bountiful technological feast made possible by machine learning and artificial intelligence. Deal with it. Test it out at aifunclub.azurewebsites.net.

Data deals with it

What's under the hood

  1. A Project Oxford node module calls the Microsoft Face API to return angle, pitch, and coordinates of eyes and eyebrows for each face detected (max. 64).
  2. socket.io handles communication between the node server and client HTML.
  3. JQuery takes care of a few things like the generation and animation of glasses.

If you want to play with this code on your own, you'll need to add your own API key for the Face API.