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

Leapmotion with javascript

I am Learning leap motion programmes with javascript. i have few doubts regarding it Is there any way to write gesture for particular finger means circle gesture for index finger and swipe gesture for middle finger?? I am trying to draw pot…
Manish
  • 105
  • 1
  • 3
  • 10
0
votes
1 answer

Running C# sample code in command line

Newb question here: I'm trying to run this sample c# code from https://developer.leapmotion.com/documentation/Languages/CSharpandUnity/Guides/Sample_CSharp_Tutorial.html for the Leap Motion. Running the sample To run the sample…
user1836539
0
votes
0 answers

Disable Leap Motion from reading frames

I'm writing a web app that uses the Leap Motion as a controller through javascript. My problem is that when I go to do selenium testing, even if the Leap device is disconnected, the controller keeps grabbing empty frames. This makes it very…
GeneM
  • 83
  • 5
0
votes
2 answers

Always present window

I wrote touchless mouse for the LeapMotion device (see Code) The problem is that the mouse listener is only active if the winform is on top and has focus. If it lost the focus the program cannot control the cursor. I tried to set the "always ontop"…
user1392416
0
votes
0 answers

Swing Application crashes after button click with leap motion controller

I try to write a small swing application in which I move the mouse with the leap motion controller (this works) and click on a button via Screen-Tap-Gesture. What it does is to show that the button is clicked but then the application crashes with…
Raistlin
  • 997
  • 2
  • 11
  • 33
0
votes
3 answers

How to move the cursor or simulate clicks for other applications?

I am creating a C# Windows application using the Leap Motion Controller. I am developing on Windows 8 and Visual Studio 2010. I use SetCursorPos and mouse_event from user32.dll to move the cursor and simulate clicks. I want the cursor to be moved…
PurkkaKoodari
  • 6,703
  • 6
  • 37
  • 58
0
votes
2 answers

How to add library on eclipse (python) ?

I am developing leap motion with the help of python. I have downloaded eclipse and installed python plugin Now I need to add library of leap motion , that is LeapPython.pyd How to add this library on eclipse ? Any help would be appreciated. …
0
votes
1 answer

Leap Motion problems with Swing?

I'm starting to toy a little with the Leap Motion Controller and made a small GUI in Swing. That means it's just a Frame with a Label on it which should show a text of what the Leap Motion sees. Unfortunately my programm simply breaks down after two…
Raistlin
  • 997
  • 2
  • 11
  • 33
0
votes
3 answers

Leap Listener controller stops working after some time in VS2012

We have integrated flash game (crazytaxi.swf) inside Windows form application in VS Express 2012 for Windows Desktop.We are controlling game with the help of gestures using leapmotion controller. What happens is when we run project in VS2012,game…
Vaibhav
  • 359
  • 3
  • 8
  • 17
0
votes
1 answer

not able to move mouse and capture gesture using Leapmotion controller in scala

I'm trying to use leapmotion jar to replicate mouse motion with gesture and hand movement, i've created two methods def executeGesture(gesture: Gesture) = { val robot = new Robot(); gesture.match { case Gesture.Type.TYPE_CIRCLE => { …
Atiq
  • 396
  • 1
  • 3
  • 10
0
votes
0 answers

"Invalid 32-bit application" error when running "import Leap"

I'm trying to use the Leap Motion SDK with Python. I put all the required files in the appropriate locations but when I run this: >>> import Leap I get an error: Invalid 32-bit application I'm on 64-bit Windows 7 running a 64-bit Python 2.7.5.…
Abdul Khader
  • 141
  • 1
  • 2
  • 5
0
votes
1 answer

How to get the event when fingers disappear

I am making leap motion application. I can detect when fingers come up in the sensor, but I can't detect when all fingers disappear. Is there any way to tell the moment all fingers disappear like mouseout event for mouse?
whitebear
  • 11,200
  • 24
  • 114
  • 237
0
votes
1 answer

Is there a way to detect cross over of hands?

Is there a standard way of allowing two hands to cross each other with the Leap Motion API? It seems that when I cross my hands, one hand is knocked out, until I uncross my hands in which the hand is reinserted into the environment but is assigned a…
Chris
  • 54,599
  • 30
  • 149
  • 186
0
votes
1 answer

Leap Motion and Cocos2d (Xcode), displaying images on device connect/disconnect?

I'm in the process of porting my Cocos2D game to Leap Motion. I have the controls implemented but part of the submission guidelines dictate that you must give visual indication when the device is connected or not connected. The part of the Leap code…
PocketTim
  • 87
  • 10
0
votes
2 answers

Getting Yaw of hand unstable

I am making a puppet app with the Leap Motion. Whenever I try and get the Yaw of a hand it always seems to be wrong (ie: My hand is flat but it says its at 45 degrees or my hand is flat and it says its at -30 degrees, generally unreliable and…
Noah Huppert
  • 4,028
  • 6
  • 36
  • 58