深度&追踪 [英] depth & tracking

查看:73
本文介绍了深度&追踪的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在跟踪指针时检查手的深度距离?
$
 

How do i check the depth distance only for hands while tracking the hands?
 

推荐答案

Kinect SDK Beta 1 API不提供用于跟踪手牌的API,因此,如果这是您要求的,那么您将必须编写自己的手动跟踪代码,将深度流图像作为输入。

The Kinect SDK Beta 1 API does not provide an API for tracking just the hands so, if that's what you're asking for, then you'll have to write your own hand tracking code that takes depth stream images as input.

Kinect SDK Beta 1 API支持全身骨骼跟踪,如果整个身体可见,你可以做到

The Kinect SDK Beta 1 API does support skeleton tracking for full body, and if whole body is visible you can just do


SkeletonData data = ...; // SkeletonData can be obtained from a SkeletonFrame

float depthLeftHand = data.Joints[JointID.HandLeft].Position.Z;
float depthRightHand = data.Joints[JointID.HandRight].Position.Z;


这篇关于深度&追踪的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆