V2座位模式 [英] V2 Seated Mode

查看:60
本文介绍了V2座位模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

kinect.SkeletonStream.TrackingMode == SkeletonTrackingMode.Seated


如何从上半身获取可靠的人体计数数据?

在V2中是否有类似的用于控制骨架/体管道跟踪模式



在本机代码中(C / C ++),您可以使用

NuiSkeletonTrackingEnable
并传入
NUI_SKELETON_TRACKING_FLAG_ENABLE_SEATED_SUPPORT
用于坐姿跟踪的标志,或省略全身跟踪的标志。请注意,可以调用

NuiSkeletonTrackingEnable
来更改跟踪模式,即使先前启用了骨架跟踪;在切换模式之前,没有必要调用

NuiSkeletonTrackingDisable

In native code (C/C++), you can switch at run-time between the seated and full-body pipelines using NuiSkeletonTrackingEnable and passing in the NUI_SKELETON_TRACKING_FLAG_ENABLE_SEATED_SUPPORT flag for seated tracking, or omitting the flag for full-body tracking. Note that NuiSkeletonTrackingEnable can be called to change the tracking mode, even if skeleton tracking was previously enabled; it is not necessary to call NuiSkeletonTrackingDisable before switching modes.

  hr = m_pNuiSensor->NuiSkeletonTrackingEnable(
    m_hNextSkeletonEvent, NUI_SKELETON_TRACKING_FLAG_ENABLE_SEATED_SUPPORT);

推荐答案

V2不再有2种身体追踪模式。当你坐下时,它试图给你所有与你站立时相同的关节。

V2 no longer has 2 modes for Body tracking. When you are seated, it attempts to give you all the same joints as when you are standing.

谢谢,Rob Relyea | Kinect团队

Thanks, Rob Relyea | Kinect Team


这篇关于V2座位模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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