Questions tagged [leap-motion]

Leap Motion is a company developing advanced motion sensing technology for human–computer interaction.

Leap Motion is a technology for tracking the in-air movement of both hands and all 10 fingers. The Leap Motion Controller is produced either as a standalone USB device for PC, Mac or Linux or as an embedded module.

API/developer details

Leap Motion provides an open and free SDK for developers. Native extensions are supported for C++, C# and Unity, Python, Java and Objective C. Web development is supported by the JavaScript API.

The APIs for the Leap Motion Controller provide ways for obtaining the position and velocity of fingers and hands within the view of the device.

Useful Links to Developer APIs

349 questions
2
votes
0 answers

Cursor in Leap motion with Unity Framework

I am New to Unity and Leap Motion. However, I was trying to interact with my game objects and scripts that I have written into the game. My game is used Unity Leap Interaction Engine, Interaction Behavior and other Leap motion scripts. I finally got…
JK Romania
  • 23
  • 5
2
votes
0 answers

Leap Motion with ROS not working

I'm trying to implement leap motion with ROS indigo and I used the tutorials that come with the ROS leap_motion package and have set up everything as they say, however, whenever I try to execute the command line: roslaunch leap_motion…
Juan Telo
  • 31
  • 1
  • 1
  • 4
2
votes
2 answers

Cannot destroy object using leap motion fingers

Good day everyone . I have a little problem with detecting the collision of my fingers to my object . In my first stage my code for destroying object when it collides with my finger is here: DetectionCollision.cs using UnityEngine; using…
Ginxxx
  • 1,602
  • 2
  • 25
  • 54
2
votes
2 answers

Can't get OnCollisionEnter to work with Mesh Collider when using Leap Motion

I am trying to use leap motion to interact with a couple of other game objects. At a very simple level, I have a cube which I need to interact with. For this, I wrote a script - using UnityEngine; using System.Collections; public class…
Zeokav
  • 1,653
  • 4
  • 14
  • 29
2
votes
2 answers

NameError: global name 'AZIMUTHAL_LIMIT' is not defined

I am very new to Python and found this code here . It keeps on giving me this error and I am confused on what to do. File "my_first_leap.py", line 78, in on_frame XPOS_servo = abs(AZIMUTHAL_LIMIT-normalized_point.x*AZIMUTHAL_LIMIT) NameError:…
Engima
  • 49
  • 6
2
votes
1 answer

Leap Motion Python SDK with conda

I am using an anaconda's python 2.7 distribution as my default python distribution. I receive a Fatal Python error: PyThreadState_Get: no current thread This error seems to be a result of a python distribution conflict; I am using anconda's python…
jkarimi
  • 1,247
  • 2
  • 15
  • 27
2
votes
1 answer

Difference between Hand direction vs palm Normal

What is the difference between Hand.Direction and Hand.PalmNormal? in the documentation, both methods have mentioned that "The direction is expressed as a unit vector pointing in the same direction as the directed line from the palm position to the…
user3717646
  • 436
  • 3
  • 10
2
votes
3 answers

Draw a circle around cursor (C#)

using C#; I'm trying to make an application using a Leap Motion sensor to map finger movements to cursor movement. On the screen, I would like to draw a circle around the cursor. After some searching I found someone trying to do the same thing…
TijsDelvaux
  • 43
  • 1
  • 4
2
votes
1 answer

how to start two thread using python?

i have 3 python Files: file including Many class any methods for initializing Frame and other GUI using pyQt. file including leap Motion Listener class that read data from leap motion. Main file that used to start other classes. now i want to…
Qutaiba
  • 145
  • 1
  • 13
2
votes
2 answers

Calculate Angle between two 3D Vectors

Note: I have absolutely no clue about Vector math, especially not in 3D. I am currently working on some Javascript code that determines if a Finger that got captured by a Leap Motion Controller is extended (i.e. completely straight) or not. Leap…
user2655904
2
votes
0 answers

Windows Desktop Manager Overlay

I like to make an overlay with the following properties: should work at least on Windows 8.1 should be on top on everything, like a mouse cursor should incorporate the pixels which are already on the background, like a blur filter no…
Freya Thor
  • 81
  • 4
2
votes
1 answer

Leap motion Hand swipe

I am currently developing an application in Unity that uses the leap motion swipe gesture. Swiping with the hand in a vertical position is not reliable. Can someone please help with a swipe Gesture that uses the Hand instead of the fingers. Thanks
Elololex
  • 41
  • 5
2
votes
1 answer

LeapMotion tipPosition is changing (a lot) when I don't move

I'm using the Java LeapMotion SDK 2.2. I want to detect the position of my thumb, to observe if my thumb is moving or not, but I have some polluted informations, I don't know where come these informations. for (Finger f : frame.fingers()) { …
Quentin T.
  • 267
  • 2
  • 8
  • 27
2
votes
2 answers

How to resolve 'cannot find module 'serialport' using Node.js and Johnny-Five?

Main goal: using Johnny-five and node.js to run a script for my Arduino, using LeapMotion Controls I have a folder with my 1: 'robotarm.js' script 2.the Leapjs 'lib' folder the 'node_modules' folder in leapjs which has underscore, glmatrix and…
user2855405
  • 495
  • 2
  • 7
  • 20
2
votes
1 answer

Leap Motion JS - update in background

I am playing around with Leap Motion's JS SDK. Whichever example I see on the internet it does run fine even when the browser window is in background = the example get updated on every frame. However, I cannot figure out what to do to actually…
Fygo
  • 4,555
  • 6
  • 33
  • 47
1 2
3
23 24