Thanks for checking out this page.
FP20 is an interactive installation that aims to lighten up a public space through a private window. We will project computer animated -and sometimes interactive- graphics from this place.
Address: Falconplein 20, 2000 Antwerp, Belgium
Setup: December 2020
From blob detection to simple game. Working on this interactive installation in a private window adjacent to a public place.
My intention was to use a Kinect but unfortunately it cannot detect a player who is actually at least 10 meters away from the cam. So I wrote a custom blob detection script based on downsampled hsb values of a videostream using a regular webcam instead.
Each pixel in a single frame is read and its properties averaged according to ‘cell’ size and the hue/brightness properties stored in an array. So the frame image is downsampled according to the total amount of cells. The values in the array are then compared and replaced with the values of the next frame scan. Any differences between old and new values are indicative of a change in front of the camera such as movement of an object. In that case, the ‘difference values’ are taken apart and averaged/weighed to determine a single point of movement on a screen. The coordinates of this point are subsequentally used as player input. The setup does not record/recognize persons, it merely converts changes in pixel properties to an apparent movement of the game character.
The process repeats itself every new video frame at between 8 to 50 fps.
Written in Processing