![]() To use the Leap Motion device in 3D Slicer, I also needed to download the Visualization Toolkit, or VTK. The project had a website with useful info so I downloaded the code and dug in. My day job is in medical imaging research, so I wanted to try to replicate some YouTubes videos (1, 2) that used the Leap Motion device for navigating medical images in 3D Slicer. In the future, I might like my program to control some device like my Nest Thermostat or another smart device like lights. The “screen tap” Leap Motion gesture is a one-fingered poke forward in the tracked field of view.Pushover was used here an an endpoint my detected gesture. Below is the screenshot from my phone of the detected gesture notification from my Python script. Pushover has a nice, open API, and I registered an app I called ‘LeapEvent’ which listens for notifications from my Python program. Pushover is a great multi-platform notification service which I purchased originally because of its IFTTT compatibility. I then added an extra snippet to the Python code that enabled me to receive mobile notifications using Pushover. I modified the Python sample tutorial to do something different when the gesture ‘Screen Tap’ was detected. There are example scripts and programs in several languages including Python. Leap Motion has a lot of good documentation for software developers and makers. ![]() I image with a better CPU or GPU and USB3.0, this would look a lot better.ĭeveloper Tools and Application Programming Interface (API) There was a bit of lag on my system, and the frame rate I observed wasn’t that impressive. Leap Motion also provides a debugging tool which gives an inside look at the skeletal model for hand and finger tracking. I made a flyover video of trying to find Central Park. After enabling joystick navigation in Google Earth preferences, I was able to fly around by moving, tilting and rotating my hand. I tested out some of the apps, including Google Earth. Google Earth gesture navigation integration.Collider, an app to use with the Oculist Rift headset. ![]() Put heads on the robots, Pluck flower petals, etc Playground, which is a set of training games.The Leap Motion software installs a desktop program called the “Leap Motion App Home” which contains some starter apps: It was a simple Plug and Play setup, software download and install. First up was unboxing the nice, Apple-like packaging materials. I thought I could test the device both as an Average Guy and an average coder. I was sent the Leap Motion device from the Average Guy Tech Scholarship Fund (Thanks Jim!).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |