My Hairy Red Sweater

Feb 4, 2012

A few months after creating the LEGO Boostrap game, I decided to do some more experimenting with the great OpenCV library for Processing. This time, instead of detecting lego pieces of different colors, I wanted to detect the outline of a person, and to modulate that based on sound input. The idea is to eventually have something that could be used for music shows by projecting visuals onto the live band.

The result of this first experiment is very basic but pretty fun to play with. It detects my black sweater (the darkest part of the image), draws it as a red polygon, and adds perpendicular lines that look like hair starting on every point of the polygon. The length of the "hair" is determined by the volume input from the microphone.