如何让Skeleton跟踪工作Kinect v2 SDK 2.0 [英] How to get Skeleton tracking working Kinect v2 SDK 2.0
问题描述
我有一个工作程序使用Visual Studio 2010的Xbox 360 Kinect。现在 我试图将代码放到Visual Studio 2013上并计划使用更新的Xbox One传感器。我已经下载了SDK 2.0。现在当我运行程序时 - 显然
不起作用。这似乎是因为我使用了NuiApi.h,NuiImageCamera.h,NuiSkeleton.h,NuiSensor.h。与此相关的所有内容现在都不再有效了。
所以像初始化一样。
HRESULT小时;
hr = NuiInitialize(NUI_INITIALIZE_FLAG_USES_SKELETON .... ..)
等 - >还有更多的Nui,NUI_SKELETON_FRAME,列表继续
所以对于这个新的SDK 2.0 - 没有这个我可以在include文件夹中看到NuiApi。
那相当于什么?我怎么能做这项工作,我看到的只有Kinect.h或Kinect.face.h
我该如何制作程序按照惯例运行。
提前致谢
Hey Hazel,
您是否已经查看了SDK浏览器提供的演示?看看BodyBasics的例子。那里你可以看到如何检测身体等。我没有使用V1,所以我希望你能找到它。
祝你好运,
亚历
Hi,
I had a working program with the Xbox 360 Kinect using Visual Studio 2010. Now I have tried to put the code over to Visual Studio 2013 and plan to use the Newer Xbox One sensor. I have downloaded the SDK 2.0. Now when I run the program - it obviously does not work. This seems to be due to the fact that I used the NuiApi.h, NuiImageCamera.h,NuiSkeleton.h, NuiSensor.h. Everything associated with this, is now no longer working.
so things like initialising.
HRESULT hr;
hr = NuiInitialize(NUI_INITIALIZE_FLAG_USES_SKELETON......)
etc - > there is so much more of the Nui, NUI_SKELETON_FRAME, list goes on
So for this new SDK 2.0 - there is none of this NuiApi that I can see in the include folder.
So what is the equivalent ? How can I make this work, all I see are things like Kinect.h or Kinect.face.h
How can I make the program do what it used to.
Thanks in advance
Hey Hazel,
did you already check out the demos provided by the SDK browser? Have a look at BodyBasics example. There you can see how to detect bodies etc. I didn't work with V1, so I hope that's what you are looking for.
Best regards,
Alex
这篇关于如何让Skeleton跟踪工作Kinect v2 SDK 2.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!