Leap Motion plugin (Composition by benoitlahoz)

Author: benoitlahoz
License: Creative Commons Attribution
Date: 2013.07.24
Compatibility: 10.7, 10.8
Categories:
Required plugins:
(none)

Very very first test with the outputs from the Leap Motion, through the Objective-C API. I didn't managed to use the plugin at this post (http://kineme.net/forum/Jobs/AnyoneelseontheLeapMotionDeveloperprogram).

The X, Y and are scaled automatically while you move your hand over the limits of the Leap Motion FOV. Z is scaled to your values.

Works only in 64 bit, 10.7 and 10.8.

The plugin itself is under the vimeo down there.

EDIT : Here's a new very alpha version of the plugIn, that comes with 2 simple comps, before I go on holidays.

Basically it's a device data reader and 2 "helpers" patches, that output the datas to specific ports.

The "Pointable Reader" patch uses the settings panel to allow choosing the desired outputs and the mode : one patch per pointable (eg. to be put in an iterator) or all pointables of a hand (5 actually :-)).

It allowed me to track the pointables and avoid "jumps" in drawing with Queues for example. There's still a lot of work to do, but I would extremely appreciate to have returns !!!

itsthejayj's picture
Re: Leap Motion plugin (Composition by benoitlahoz)

Great to see you playing around with the leap :)

Can I ask why you didn't use my LeapMotion plugin? Its allot more extensive, however some cool functionality was drop from the leap API at the last moment (namely the screenAPI) so the settings panel does make much sense.

*like the autoscaling :)

benoitlahoz's picture
Re: Leap Motion plugin (Composition by benoitlahoz)

I simply didn't see it... I downloaded LeapQC one and wasn't able to do something with it.

Yours is actually ALLOT more extensive.

Will dive into your plugin !

benoitlahoz's picture
Re: Leap Motion plugin (Composition by benoitlahoz)

I updated the plugin with a new version.

Marco's picture
Re: Leap Motion plugin (Composition by benoitlahoz)

Hi! your plugin looks interesting ! I was download the plug and examples, (I have a 64 bits, etc) you can help me how is works... step by step. Thanks M

fraco's picture
Re: Leap Motion plugin (Composition by benoitlahoz)

Hi, thank you for this plug-in. After trying my way with the different plug-ins for QC, including build-ups within x-code, this is the only one which doesn't prompts plugin/library issues when opening the .qtz files. However, after viewing the patch, every time there's presence identified by the leap motion, the render goes blank. Curiously, after stopping and re-playing the patch –multi hand finger– the camera appears closer every time. Not really sure where to start looking to fix the render-erasing. Any considerations or ways to fix this are gratefully welcomed!

fraco's picture
Re: Leap Motion plugin (Composition by benoitlahoz)

Sidenote: when running the viewer in debug mode –hOzleap_example_02–, all of the patches blink with red. However, as soon as I place my hand inside the leap's recognition zone, the leap's patches stop blinking but the others don't. The rendering in the viewer keeps going transparent though.

dust's picture
Re: Leap Motion plugin (Composition by benoitlahoz)

just got a leap motion. i haven't checked out any of the sdk yet. i'm trying this plugin and i get a blank checkered screen. i also tried its the jays plugin which worked fine. certainly you would think two of the same type of plugs should work ? im working on an old laptop one of those first gen unibodies with dual graphics card. i'm getting issues with open cl crashing which i don't remember if it was normal for this computer or not. i was able to run quartz in maverick with out installing xquartz but soon as i added my old plugins it asked for x11 xquartz to be installed. i was running quartz fine before that. do you have a updated plugin with the new sdk ?

benoitlahoz's picture
Re: Leap Motion plugin (Composition by benoitlahoz)

Here is the github where you can find the SDK 1 version. Actually, isthejayj commissioned me to complete my first version and we're OK to keep only one version of the plug-in.

https://github.com/oz-/Leap-Motion-QCPlugIn

I'm currently working on the SDK 2 version (with images support). You can see some pics on a Leap forums post I wrote here : https://community.leapmotion.com/t/use-of-distortion-to-get-an-opencv-us...

It will be avalable (soon, I hope) open source like the previous one.

dust's picture
Re: Leap Motion plugin (Composition by benoitlahoz)

sweet, yeah i would think the raw image depth map would be cool to play with. I'm not sure how the sdk works haven't dived into it yet but the version i just updated to seems to have some collision detection on the fingers so when you get them too close you don't lose them into one finger. yeah i got johns patch to work. so I'm cool for now. thanks..