Forums > MaxMSP

Leap Motion finger data

January 3, 2014 | 8:37 am


Just started play around with Leap Motion through "aka.leapmotion" and I was wondering how can I parse the finger data by fingers so I can control a polypatch of for example 10 oscillators independent with 10 fingers?
Thanks for your help

Luis Aly

April 15, 2014 | 8:11 am

I am wondering the same.

August 14, 2014 | 4:29 am

I suppose the key is in how to extract data in live from cells of object jit.cellblock of aka.leapmotion. Isn’t it? Printing outputs of all cells and separate them could be a solution maybe? I’m not sure…

August 14, 2014 | 5:25 am

I wouldn’t say so, Perevicalet, that’s a roundabout way to do it in my opinion. The jit.cellblock objects are used for visualisation, they’re linked to the coll objects you see under the aka.leapmotion object.

I’m sorry if there’s an easier way to go about this, but since I have only started working with the leap today I haven’t gotten into the groove yet:

Here’s a quick example extracting each finger to a three-member XYZ list – I made it just for you.

— Pasted Max Patch, click to expand. —
August 14, 2014 | 6:00 am

Wow! That’s pretty cool. I’m always thinking in the worst roundabout way… Thank you so much @Wetterberg. It’s good solution of what @Luis Aly was asking. Now I was thinking and figured out maybe a way for knowing which hand is on Leap. If I put L or R hand, aka.leapmotion doesn’t recognize it. From data analysis of fingers positions, taking the thumb a little bit down (y) and separate from others viewing the order, first or fifth, could be a solution for it, isn’t it? Or do you think @Wetterberg, do you think is also a roundabout way?

August 14, 2014 | 8:00 am

I don’t think there’s a reasonable way to detect left or right hands, to be honest. When you think about it, most of the positions of the fingertips can be made with either hand.

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

Forums > MaxMSP