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
4
votes
1 answer

How do I allow the Leap Motion to control my cursor in an OS X application?

So I have a game for Mac OS X built in cocos2D. I'm using gestures to simulate keyboard commands to control my character and it works really well. I submitted my game to the AirSpace store and it got rejected on the grounds that the Leap should be…
PocketTim
  • 87
  • 10
4
votes
2 answers

How do you integrate a Leap Motion Controller into a Mac application?

I'm trying to start my own Leap Motion project on the Mac, but I'm having some problems. I'd like to use Objective-C for this project, and I have read that there is a Leap Motion library for this language. However, I'm not sure how to integrate Leap…
CTSchmidt
  • 1,155
  • 3
  • 17
  • 30
4
votes
2 answers

How do I start writing or creating an app for leap motion? (python)

I have tried googling this, but it is a lot of programming talk i do not necessarily completely understand. All i have done so far is download the SDK for Leap Motion and found that programs can be written with python. which is a programming…
user2627127
  • 113
  • 2
  • 3
  • 10
3
votes
1 answer

Leap Motion Gesture Detection Accuracy with LeapJS

I am using a leap motion sensor with my node app to detect gestures. With my current setup, the gesture detection is working but not as accurately as I need it to be. When I perform a swipe gesture the leap motion does not always send a swipe…
whoMe
  • 227
  • 2
  • 13
3
votes
0 answers

LeapMotion does not recognize any gesture

I am creating a Java program to recognize some features from LeapMotion. I am following this tutorial. Code import com.leapmotion.leap.*; import com.leapmotion.leap.Gesture.State; import java.io.IOException; //Listener class LeapListener extends…
bellotas
  • 2,349
  • 8
  • 29
  • 60
3
votes
1 answer

SetTransform causes Unity LeapMotion object to spin too fast

This builds upon a question I recently asked here: Unity3D Leap Motion - Put hand in static pose (SetTransform causes Hand to spin crazy) However, the code suggested in the only response given does not work. I have been using the 'SetTransform'…
3
votes
1 answer

Leap Motion Listener onFrame is Skipping/Ignoring Code

I am developing a custom gesture creation application for Leap in Java. In the onFrame function code is being executed up to a point and the rest of the code is skipped. The code for onFrame is below: public void onFrame(Controller controller) { …
3
votes
1 answer

Set Unity3D AnimationClip Property Without Resetting the Animator

I'm trying to drive the animation of a Unity3D Mecanim rig based on live data from a Leap Motion Controller. I have 2 layers masking out everything but the hands in a Mecamim Human rig, on top of a base layer driving the rest of the rig. Both "hand…
3
votes
2 answers

Overlapping components in JPanel

I have a JButton and a Point (it's motion controlled by leap motion) on the same JPanel. However, they are overlapping with JButton on top. Is there a way to have my Point always on top in the JPanel application window? Here's a code snippet:…
Samarth
  • 35
  • 1
  • 7
3
votes
5 answers

How to detect circle gesture direction?

THis is my code gist. Leap.loop({enableGestures: true}, function(frame) { var gestures = frame.gestures; for (var i = 0; i < gestures.length; i++) { // I want to do something when draw circle with one pointable if (gesture.type == "circle"…
jziwenchen
  • 643
  • 1
  • 6
  • 15
3
votes
2 answers

Displaying one element over another without losing ability to click the lower element

The "general" question.... If I have two HTML elements using z-index, one on top of the other, the bottom one becomes unclickable. The bottom one, however, is the main content. The top one is translucent and must be displayed over the bottom…
GeneM
  • 83
  • 5
2
votes
0 answers

Leap Motion Controller - not connecting cpp, python (mac)

I downloaded the SDK from https://developer.leapmotion.com/sdk-leap-motion-controller and tried running the code under samples. It works for java and javascript but doesn't work for cpp and python. The controller is connected and working. And the…
Azimjon Ilkhomov
  • 383
  • 3
  • 13
2
votes
2 answers

Beginner Coder: Java (Processing) and Leap Motion Controller Tutorials?

I have very little experience with coding and for my University Project Prototype, I need to code an image (a PImage in Processing) to move using my hands (Leap Motion Controller Input). At the moment I am stuck on how to get my image to move using…
Sophie
  • 21
  • 1
2
votes
2 answers

How to JNA-map a pointer-to-array? I keep getting Invalid Memory Access or garbage data

I'm trying to use JNA to bridge between Leap Motion's C API (LeapC) and Java since Leap Motion has deprecated their official Java bindings. However, I'm unfamiliar with C and I haven't used JNA before. So far I have managed to get some things to…
komposten
  • 31
  • 1
  • 7
2
votes
2 answers

How can I trigger an event when the user rotates an object with his hands using Leap Motion in Virtual Reality?

I am new to Virtual Reality. I am using Oculus Rift for Headset and Leap Motion for interactivity. When the user will rotate an object with his hands, I want a specific event to get triggered. Here's my code: using System.Collections; using…
1
2
3
23 24