Leap Motion finger data

    Jan 03 2014 | 4:37 pm
    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

    • Apr 15 2014 | 3:11 pm
      I am wondering the same.
    • Aug 14 2014 | 11: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...
    • Aug 14 2014 | 12:25 pm
      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.
    • Aug 14 2014 | 1:00 pm
      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? :S Thanks.
    • Aug 14 2014 | 3:00 pm
      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.