Games and Interaction design

Sunday, December 04, 2005

Computer Vision

Been having some fun making a little installation with Duncan that implements some simple computer vision techniques. The installation has a little snow particle simulation combined with webcam input to snow-ify people that happen to pass the window of where its going to be installed. Its been done before, most notably by the incredible folk over at Mine Control, but its been fun to make. It just uses the Vidcapture object to grab frames from any DirectShow device, combined with a Sobel filter to detect the edges, and then the particles move freely unless they drift into an area with sufficient gradient to make them stick. It doesnt have a bias for x or y gradients at the moment, so looks a little odd as snow sticks to vertical surfaces, but a bit more tweaking should getting it looking more realistic.


Post a Comment

<< Home