leap-motion

Controlling Powerpoint using Leap motion and Python

寵の児 提交于 2019-12-10 11:33:23
问题 I just started up with python.I lately got a project where I have to make a powerpoint slideshow.This has to be done using leap motion sdk and python .So my powerpoint will be gesture based. How do I deploy this on my desktop in such a away that I just need to click on my desktop app or the ppt file itself, I get started with the powerpoint like on windows. I need to detect the finger gestures using python and integrate it to next - previous functionality. Can I get some guidance on

How to connect leap-motion , directly to android

拜拜、爱过 提交于 2019-12-10 09:36:42
问题 i am working on an android application that requires to be controlled by LEAP-motion. the leap sdk currently only supports windows and mac. but is there a way (any open library/tutorial etc.) to make the leap motion device talk to an android phone? leap motion uses a USB connection to the phone , i have a usb OTG adapter and can directly plug in leap. Any sort of help will be greatly appreciated. 回答1: Introduction Ya, I know your question contains the word "directly". My solution is not

Connecting Leap And QT Togther

末鹿安然 提交于 2019-12-08 08:24:44
问题 after long long search over the internet i did not found any reason able solution to my problem which is that: i have an application that record the user finger movement on demand, (when the user pressing r its start to record when the user press the s its stop the record, till now i the application was on the console so it worked perfectly with leap motion, now we have decided to move the application to GUI based application, and we have chosen QT platform, we integrated the GUI with our

Detecting swipe gesture direction with Leap Motion

冷暖自知 提交于 2019-12-04 08:34:29
问题 I'm trying to simply get the direction of a swipe gesture with the Leap Motion using the javascript API. My code is: $(document).ready(function() { controller = new Leap.Controller("ws://localhost:6437/"); listener = new Leap.Listener(); listener.onFrame = function(controller) { var frame = controller.frame(); var hands = frame.hands(); var pointables = frame.pointables(); var gestures = frame.gestures(); $("#rotationAxis").text(pointables.length); $("#gestureDetected").text(gestures[0]); }

Detecting swipe gesture direction with Leap Motion

余生长醉 提交于 2019-12-02 23:53:07
I'm trying to simply get the direction of a swipe gesture with the Leap Motion using the javascript API. My code is: $(document).ready(function() { controller = new Leap.Controller("ws://localhost:6437/"); listener = new Leap.Listener(); listener.onFrame = function(controller) { var frame = controller.frame(); var hands = frame.hands(); var pointables = frame.pointables(); var gestures = frame.gestures(); $("#rotationAxis").text(pointables.length); $("#gestureDetected").text(gestures[0]); } controller.addListener(listener); controller.enableGesture("swipe", true); listener.onConnect = function

Is it possible to use non-mouse, non-touch events to interact with a D3.js graph? If so, what is the most efficient way to go about it?

我是研究僧i 提交于 2019-12-02 11:04:33
问题 Rather than using a mouse, I'm using a Leap Motion. It's a motion sensing device than allows fingers, hands, and gestures to be used rather than a mouse. I have code that draws the points where the user's fingers intersect with the screen, so the user's fingers are represented by blue circles on the webpage (identical to this code: http://schnipz.github.io/leap-motion-demos/d3.js/index.html). I also have a Force-Directed graph on the webpage, identical to this example: bl.ocks.org/mbostock

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

余生长醉 提交于 2019-11-30 17:22:18
问题 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 language i am somewhat familiar with. From the samples on the SDK it seems it requires a module to start writing that means each leap motion app starts with "import Leap" in python. however i do not have this "Leap" module and I am not sure where to

Static Object in Scene - Three.js

断了今生、忘了曾经 提交于 2019-11-28 11:39:48
I have two objects in my scene. I am using the <script src="js/controls/LeapTrackballControls.js" ></script> for moving the camera, so it feels like the objects is rotating according to the movement of my hand. The problem is that the other object is also moving, and I want it to remain always in front of me. I mean, that even if the camera moves, the object always is in the same place inside the canvas/explorer. Sorry if I'm not explaining myself properly. Any help is appreciated. EDIT: var controls = new THREE.LeapTrackballControls( camera , controller ); So, I have a sphere in the middle of

Writing custom code for PowerPoint using leap motion?

拥有回忆 提交于 2019-11-27 09:05:55
I am trying to make a gesture based PowerPoint slideshow . JavaScript would certainly not work here as I want my slideshow to work when that particular PowerPoint file (.ppt) is opened for windows. I googled, posted a question on the Leap Motion forum, but in vain. My primary concerns are: I am unsure about what to use here. Are there some SDKs for this purpose? In simple words, how do I write some custom code for a PowerPoint file on our system? Leap Motion apps can be developed with C#, C++, Python, JavaScript, Java, Objective-C Integrating the code for Leap Motion device with the above code

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

霸气de小男生 提交于 2019-11-27 05:42:00
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 when in any application. When I run/debug it from Visual Studio it only works when in the application itself or in Visual Studio. When in other applications the mouse does not move and the clicks don't work, but if I try to move the cursor with the real mouse it goes back to the place it was at. When run standalone it does not move in Visual Studio