手动跟踪新github UWP骨骼跟踪样本中的细节? [英] Hand tracking details in new github UWP skeletal tracking sample?

查看:63
本文介绍了手动跟踪新github UWP骨骼跟踪样本中的细节?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用使用手势跟踪。我想将它移植到UWP,所以我很高兴看到新的UWP GitHub示例代码。但不幸的是,我在

MFPoseTrackingFrame.h

My app uses hand pose tracking. I want to port it to UWP so I was happily looking at the new UWP GitHub sample code. But unfortunately I see this in MFPoseTrackingFrame.h:




//      for hand tracking: enumerated type is not yet defined.

这太糟糕了: - ( 这是枚举吗?在V2 SDK中定义了吗?或者这是一个尚未在任何地方指定的枚举,我们需要微软发布吗?

That is... too bad :-(  Is this an enumeration that was defined in the V2 SDK?  Or is this an enumeration that is not yet specified anywhere, and which we need Microsoft to publish?

我会试验这个,但有些清晰度是非常感谢。

I will experiment with this, but some clarity would be great.  Thanks.

Rob Jellinghaus

Rob Jellinghaus

推荐答案

我猜用手跟踪姿势,你的意思是套索,开放,封闭o怠速。对吗?b

I guess by hand tracking pose, you mean whether lasso,open,closed or idle. Right?

不确定,但我认为你需要检查这个
sample

Not sure but I think you need to check this sample.

这将是棘手的,因为他们似乎已经重新命名了Joint to TrackedPose,所以它会使相关事情变得混乱。

It's gonna be tricky because they seem to have renamed the Joint to TrackedPose, so it will be confusing correlating things.

另一方面,似乎它们已经解释了你通过抓住框架获得了任何东西作为字节缓冲区(至少我理解)。因此,您可以尝试使用BufferMediaFrame并使用它从SDK中获取BodyFrame。
他们说
这里
它可以做到。如果您重新解释缓冲区并抓住曾经是手部跟踪姿势的框架部分......也许......

On the other hand it seems they have accounted for you getting anything as it used to be by grabbing the frame as a byte buffer(as I understand it at least). So you could try BufferMediaFrame and use it to grab the BodyFrame from the SDK. Here they say that it can be done. If you reinterpret the buffer and grab the part of the frame that used to be the hand tracking pose....perhaps...


这篇关于手动跟踪新github UWP骨骼跟踪样本中的细节?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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