IR Camera Touch wall

I want to develop my own detection software which uses ir camera can anyone here for help me.

Basically here is the idea i have ir camera and sensor.

1)i want to make a touch projection.
2)create touch area which defines x and y
3)when i save them and play my game it will detect touch event.

please help i was stuck here last 4 months i am new in openframeworks

Thank you in advance