Finally I got my Leap Motion sensor today. I waited like ever for this little magical device. If you don’t know it, then check out the following video:
The package contains 2 USB cables (two different sizes), an information guide and the motion leap controller.
You can install the software and try some of the applications from Airspace, which all work pretty nice. But the most interesting part is of course the SDK. You can download the Java SDK here: https://developer.leapmotion.com/documentation/Languages/Java/Guides/Leap_Frames.html
It is quite easy to create a java project with the right libraries and start writing code. You can find more information about that here: https://developer.leapmotion.com/documentation/Languages/Java/Guides/Setup_Java.html
My first simple Java program simply counts the amount of fingers and hands the sensor detects. You can find the code on GitHub here: https://github.com/mrwonderman/leap-motion-basics. The result in the console looks like that and works quite well.
One thought on “Leap Motion: The first application”