Forums > MaxMSP

[sharing is touching] Kinect based multi touch surface

Apr 04 2013 | 3:34 pm

I recently made a touch screen led wall for the Code Control Festival in Leicester, I was lucky to receive a Catalyst Award for it – thanks Cycling ’74, Leicester Phoenix, Sean, Arts Council etc.

Anyway building the wall took me ages and I had hardly any time left to do the software but I thought I’d share the kinect based touch system which is largely copy and pasted from the forums anyway.

The cameras were mounted directly above the wall looking down. I used 2 cameras in my installation but to keep it simple the attached patch is for one.

I discarded all the depth image except for the few cm adjacent to the touch surface and discarded all depth data not within a min and max threshold level.

I then applied Dieter Vandoren’s undistortion shader and used a combinaltion of a virtual camera in gl world and to get a virtual image of my touchable surface.

I fed this to cv.jit.touches to get the touch data.

I had a few issues with calibration, using 2 cameras, and getting the kinect in the right plane but I was super impressed with the data coming out of the camera and the accuracy of cv.jit.touches (one caveat being I suspect a memory leak).

I think there is some mileage in the patch for someone anyway and there is definitely room for improvement. I don’t really understand the stuff. I just managed to get it to work!

Hopefully it is understandable but if not give me a prod and I’ll try to explain it/sort it our.

-- Pasted Max Patch, click to expand. --

Apr 04 2013 | 3:39 pm

wow , fantastic ! by the way Congratulations for the award !!!!! thank you

Apr 04 2013 | 3:41 pm

Thanks for sharing! And congratulations from me too! :)

Apr 07 2013 | 8:51 am

Glad to be of assistance and tanx for the credits! (makes me feel better about recycling other’s work all the time too ;)

Apr 07 2013 | 4:58 pm

this is great stuff, Gavin.

Apr 09 2013 | 8:15 am

Sounds cool!
Is there any video of this on the web?

Apr 18 2013 | 8:04 am

Yes there is this:

Apr 18 2013 | 8:33 am

Hey Gavin
many congrats, or "big up" as d’yoof would say.


Viewing 8 posts - 1 through 8 (of 8 total)

Forums > MaxMSP