
1.Kinect Sensor | 2.Raw Depth Image | 3.Segmented Depth Image | 4.After Lowpass Filter | 5.Connected Component Labeling | 6.Particle Analysis | 7n.Gesture Filters | 8.Keyboard/Mouse Events
In our previous post, we talked about our efforts to use the Microsoft Kinect to control a large-scale table-top interface running Grasshopper. In short: we used the Kinect to sense touch and gestures…which we then used to control the canvas via keyboard and mouse events. We’ve had a lot of fun building Kinect Multitouch Interactions but – being an architecture firm – we can only spend so much time developing the code. We think we’ve created a solid foundation and would like to share with the broader community to use, modify, and extend. Obviously, Grasshopper is only one possible application and we’d love to see how others will use this interaction. So, in the spirit of openness, we’re providing the complete source – as well as Visual Studio solution files – downloadable below. It’s our hope that those of you reading this will adapt and improve on what we’ve started.
BE WARNED: Before you jump in and try this at home, we encourage you to read this post (and the next one) to get a sense of how we went about this. Rest assured, downloading and compiling our sample code is not a terribly complex endeavor, provided you have some experience with linking and building applications. You’ll need to have some experience with C/C++ programming…so please read the detailed technical descriptions included in the SDK (and in these posts).
To get started, you’ll need the following…
Prerequisites/Dependencies
1. Microsoft Kinect for XBox with external power source and USB cables.
2. Microsoft Windows 7 or later.
3. Kinect for Windows PC SDK with drivers. We used the first public beta.
4. Microsoft .NET Framework 4.0.
5. VisualStudio 2010 IDE or similar. Express editions should work fine.
6. Our source code, which includes the Visual Studio Solution files…scroll down.
Optional Equipment
7. Projector (or similar) display. Our setup, while not expensive, is a bit exotic.
8. Kinect stabilizing mount (for walls, tables and ceilings).
Kinect Multitouch Interaction Source and Examples
Kinect Multitouch Interaction by LMNts is copyleft and licensed under the GNU General Public License.
Obligatory Disclaimer/Terms and Conditions of Use: By downloading, you agree to use this software at your own risk. Under no circumstances shall LMN or LMNts be liable for direct, indirect, special, incidental, or consequential damages resulting from the use, misuse, or inability to use this software. The software is provided “as is,” whereas we cannot provide a guarantee of support. LMNts does not guarantee that this software is bug-free or that it will solve all your problems…
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
Download LMNts-KinectMultiTouchGestures, 206.09 kB
Ok, let’s get into the fun details of how this works… (more…)