kinect V2开发API

引言

记录在开发的时候,常用的一些接口含义。

kinect V2开发API_第1张图片

开发API

数据类型

Frame 数据类型
bodyFrame 骨骼数据
infraredFrame 红外数据
depthFrame 景深数据
colorFrame 彩色图像
multiSourceFrame 所有数据
audio 音频数据
longExposureInfraredFrame 类似infraredFrame,貌似精度更高,优化后的数据
rawDepthFrame 未经处理的景深数据

骨骼节点类型

JointType 节点名称
spineBase 脊椎基部
spineMid 脊椎中部
sneck 颈部
head 头部
shoulderLeft 左肩
elbowLeft 左肘
wristLeft 左腕
handLeft 左手掌
shoulderRight 右肩
elbowRight 右肘
wristRight 右腕
handRight 右手掌
hipLeft 左臀
kneeLeft 左膝
ankleLeft 左踝
footLeft 左脚
hipRight 左臀
kneeRight 右膝
ankleRight 右踝
footRight 右脚
spineShoulder 颈下脊椎
kneeRight 右膝
ankleRight 右踝
footRight 右脚
spineShoulder 颈下脊椎
handTipLeft 左手指(食中无小)
thumbLeft 左拇指
handTipRight 右手指
spineShoulder thumbRight

kinect V2开发API_第2张图片

手势

手势,据测识别并不是太准确,在精度要求不高的情况下使用

handle 手势
unknown 不能识别
notTracked 未能检测到
open 手掌
closed 握拳
lasso 不剪刀手,并合并中食指

骨骼数据

body [object] {
  bodyIndex [number]:索引,允许6人
  joints [array]:骨骼节点,包含坐标信息,颜色信息
  leftHandState [number]:左手手势
  rightHandState [number]:右手手势
  tracked [boolean]:是否捕获到
  trackingId
} 

你可能感兴趣的:(kinect V2开发API)