如何在 kinect 中实现挥手手势?
我想使用手势,这样kinect就可以选择有手势的人作为主要玩家。之后他就可以控制电脑了。选择人员并给予他们控制权就完成了。现在我必须实现一个手势,但我不知道如何开始。
谁能帮助我吗?
I would like to use a gesture, so the kinect can select the person with the gesture as the main player. After this he can control the PC. Selecting the person and giving them control is done. Now i have to implement a gesture, but i dont know how to start.
Can anyone help me?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我想这就是你想要的(如果你喜欢自己识别手势):
MS 在这里通过完整的代码示例解释了如何识别挥手手势:
http://blogs.msdn.com/b/mcsuksoldev/archive/2011/08/08/writing-a-gesture-service-with-the-kinect-for-windows-sdk.aspx< /a>
现在也有一些手势识别器工具包可用。
请参阅以下示例:
http://kinecttoolbox.codeplex.com/
您还可以在http://channel9.msdn.com 用于类似项目,例如:
http://channel9.msdn .com/coding4fun/kinect/Gestures-and-Tools-for-Kinect-and-matching-Toolkit-too
I guess that is what you want (if you like to recognize gestures by yourself):
MS explains how to recognize a wave gesture with a full code example here:
http://blogs.msdn.com/b/mcsuksoldev/archive/2011/08/08/writing-a-gesture-service-with-the-kinect-for-windows-sdk.aspx
By now there are also some gesture recognizer toolkits available.
See this for example:
http://kinecttoolbox.codeplex.com/
You can also surf on http://channel9.msdn.com for similar projects, like that one:
http://channel9.msdn.com/coding4fun/kinect/Gestures-and-Tools-for-Kinect-and-matching-Toolkit-too
你已经拿到骨架了吗?
最简单的是检查手改变了多少次速度方向
+x --> -X 表示它向左走,现在又向右返回,您可以在这些点之间进行距离检查,以确定挥手手势是否足够明显(忽略非常小的挥手/抖动)
Did you get as far that you have the skeleton?
The easiest is to check how many times the hand changed velocity direction
+x --> -X means it went left and is now coming back right, you can do a distance check between these points to determine if the wave gesture is obvious enough (omits very tiny waves/jitter)
为手部取一些参考 - 例如肘部 - 并将其存储到一个变量中,并为手的移动取一些参考距离,这样每当手在两侧移动超过两侧的参考距离时,计算波浪的数量你的程序中需要。如果两者都匹配,请选择该人参加您的计划
Take some reference for hand have - say elbow - and store it into a variable and take some reference distance for the hand move such that whenever the hand moves on both sides beyond the reference distance on both sides, calculate the number of waves with the waves you require in your program. If both match select that person for your program