Touch Wall
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.
I spend all the day and night finishing my installation but final results were worth it

