在C#中开始骨骼跟踪 [英] Starting Skeletal Tracking in C#

查看:114
本文介绍了在C#中开始骨骼跟踪的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试创建一个项目文件,在运行时只显示kinect传感器看到的内容(彩色)并覆盖一个人的骨架(多个人也可以工作,我只需要至少一个) ,但我继续使用MSDN网站上的示例
代码来运行错误。


我已阅读说明并尝试使用来自https:// msdn的代码。 microsoft.com/en-us/library/jj131025.aspx但它不想在我的项目中工作。我得到像skeletonStream这样的错误,并且kinectSensors没有在kinectSensor
类中定义,但是该网站似乎告诉我它们是。 


所以我猜有两个我正在寻找的可能的解决方案。已经完成我想要的示例项目(因为它非常简单)将非常有用,或者详细解释如何到达那里的视频或文档是第一个。第二个
只是帮我弄清楚如何在上面的URL设置代码来删除这些错误(我仍然坚持尝试在第一部分启用骨架跟踪,因为它们)。我已经尝试在论坛上找到这样的其他问题,但是b $ b很少运气找到一个对我有用的运气,特别是因为我是C#和VS的新手,所以如果这是一个重复的问题,我道歉。


我在C#,Visual Studio 2013,Windows 8.1中完成所有这些工作。安装了最新版本的Kinect SDK,我能够让bodybasics示例项目在其中运行,因此我知道我的Kinect和笔记本电脑兼容且功能正常。任何帮助你
都可以提供给我这将是非常感谢!

解决方案

我已经找到了我的想法这是一个很好的示例代码  https://social.msdn.microsoft.com/Forums/en-US/406e60c3-b441-4181-9807-cd7341757ac9/looking-for-skeletal-tracking-documentation?forum = kinectsdk


但我仍然遇到错误的短语定义,如  keletonframeready,skeletonstream,
stop,dispose,start,skeleton等等,我不知道如何解决这个问题。


I am trying to make a project file that when run will simply display what the kinect sensor sees (in color) and overlay skeletons on a person (more than one person would also work I just need at least one), but I keep running in to errors with the example code from the MSDN website.

I have read the instructions and attempted to use code from https://msdn.microsoft.com/en-us/library/jj131025.aspx but it does not want to work in my project. I get errors like skeletonStream and kinectSensors are not defined within the kinectSensor class, but that website seems to be telling me that they are. 

So I guess there are two possible solutions for what I am looking for. An example project that already does what I want (since it is very simple) would be very useful, or a video or document explaining in detail how to get there is the first. The second would be just helping me figure out how to set up the code at the URL above to remove those errors (I am still stuck at trying to enable skeletal tracking in the first part because of them). I have tried finding other questions like this on the forum but have had little luck finding one useful to me, especially since I am new to C# and VS, so I apologize if this is a repeat question.

I am doing all of this in C#, Visual Studio 2013, Windows 8.1. The latest version of the Kinect SDK is installed and I was able to get the bodybasics example project working in it so I know my Kinect and laptop are compatible and functioning. Any help you all can offer me on this would be greatly appreciated!

解决方案

I have since found what I think to be a good example code here https://social.msdn.microsoft.com/Forums/en-US/406e60c3-b441-4181-9807-cd7341757ac9/looking-for-skeletal-tracking-documentation?forum=kinectsdk

but I still run into errors with the definitions of phrases like keletonframeready, skeletonstream, stop, dispose, start, skeleton, etc and I am not sure how to fix that.


这篇关于在C#中开始骨骼跟踪的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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