Getting Started with the Leap Motion SDK
Getting Started with the Leap Motion SDK
Positional tracking
At the top of this post, you can see some of the positional tracking data available through the API, as well as how it’s organized. Every tracked entity in the Leap Motion interaction space falls within a hierarchy that starts with the hand. A Hand object includes:
- palm position and velocity
- direction and normal vectors
- orthonormal basis
Fingers
- tip position and velocity
- direction vector
- orthonormal basis
- length and width
Bones
- joint positions
- orthonormal basis
- length and width
Arm
- wrist and elbow positions
- direction vector
- orthonormal basis
- length and width
Pointable Tools
- tip position and velocity
- direction vector
- orthonormal basis
- length and width
Motions and gestures
Motions are continuous hand movements – estimates of how the position of tracked objects (hands, fingers, and tools) change over time. These consist of translation, rotation, and scale. Comparing any two frames containing the same hand allows you to compute the change in motion through time. By mapping motions and position data to their applications, developers havecontrolled flying drones,conducted orchestras, anddesigned art installations.
Gesturesare movement patterns that can be used to trigger certain actions. The Leap Motion API includesswipe,circle, andtapgestures, which are emitted as event objects in frames when recognized. You can use gestures toswipe through recipesor twirl your finger towatch videos.
V2 tracking beta
With the v2 tracking beta, our API is now able to provide a wide range ofadditional tracking data, including left vs. right hands, tracking confidence values, as well as grab and pinch strength. Finger tracking is now persistent (so that each hand always has five fingers), digit types are identified (thumb, index, middle, ring, and pinky), and individual bones and joints are tracked.
Diagnostic visualizer
Whether you’re testing an app or just want to see the tracking data in action while you wiggle your fingers, theDiagnostic Visualizeris a great resource for any developer. Toggle different settings (press ‘H’ to see all options) to get a feel for the Leap Motion tracking system.
相关文章
- 使用 LZMA SDK 在 Java 中进行压缩导出(POI 如何快速导百万级数据的 Excel)
- 全是精华,GIthub获星65kAndroid面试题(java、Android性能调优、IPC和SDK、第三方框架分析 、数据结构、设计模式、计算机网络和kotlin等)
- Fixing “Did you mean to run dotnet SDK commands?” error when running dotnet –version
- android中使用百度定位sdk实时的计算移动距离
- C#使用 DirectX SDK 9做视频播放器 并在视频画线添加文字 VMR9
- 微信开发SDK java版,支持maven;微信Java开发工具包,支持包括微信支付、开放平台、公众号、企业微信/企业号、小程序等微信功能模块的后端开发。
- 记录一次对接XX支付SDK过程中报错问题
- Process 'command '/Users/lidaqiang/Library/Android/sdk/build-tools/27.0.3/aapt'' finished with non-zero exit value 1
- 百度语音识别REST API用法(含JAVA代码)——不须要集成SDK的方法
- The SDK directory '/root/android-sdk' does not exist.”的解决方案
- SDK 程序使用SkinMagic工具包换皮肤
- 【Google Play】App Bundle 使用详解 ( 按条件分发 | 国家地区 | SDK 版本 | 设备功能 | 按需分发 | 资源分发 )
- React-Native撸android原生百度定位SDK服务[跨平台模块自定义]
- 使用VMware VSphere WebService SDK进行开发 (六)——检测告警信息