2009-01-26

Touch Wall

Last day (and night) before show was crazy. I stared playing with possible interactions developing my application at the same time. After two days with Openframeworks I liked it very much. This very fast and robust C++ library can do things that Processing and Flash guys can only dream of.

img_0107

Above is final version of my app. How it works? Every frame (20-30 times per second) an image is captured from IR camera. Then it’s compared with an image of the background that was captured earlier. This way I can find pixels that changed and detect movement in front of the window. Next I apply threshold filter and blob detection algorithms from OpenCV library to the image to separate groups of pixels. Finally I map position of this blobs to the projected surface to so I can check which part of the screen was touched. I do all these steps two times. Once for touch detection and second time for measuring distance of the person to the screen.

Touch Wall app test

I spend all the day and night finishing my installation but final results were worth it :)