Kinect手势手势 [英] Kinect hand wave gesture
问题描述
我正在使用Kinect SDK做kinect应用程序.
我想要的结果是它必须能够识别挥手5秒.如果可以的话做些什么
有人知道怎么做吗?我正在使用WPF应用程序.
想举一些例子.我对Kinect比较陌生.
预先感谢您的所有帮助!
您是否像上次问这个问题一样直接去看SDK中的示例?
我先检查条件
(skeleton.Joints [JointID.HandRight] .Position.Y< skateline.Joints [JointID.Head] .Position.Y&&&&&&frame; Joints [JointID.HandRight].位置Y>(skeleton.Joints [JointID.ElbowRight] .Position.Y)&&& skeleton.Joints [JointID.HandRight] .Position.Y> skeleton.Joints [JointID.WristRight] .Position.Y&& ; skeleton.Joints [JointID.HandRight] .Position.Y>(skeleton.Joints [JointID.HandLeft] .Position.Y)
然后我将肘部作为手波的中心位置,并将右手的值存储在列表中,并检查给定的编号.帧
让我们获取一些ref dist并检查条件
handRight [i] .Position.X< (中心+参考)和
handRight [i] .Position.X> (中心+参考)
(挥手时将满足上述两个条件)
并检查是否有波浪,左手也将执行相同操作
从OP复制消息.我虽然是附加信息,但不是答案.我的错误,抱歉.
I''m doing a kinect Application using Kinect SDK.
The Result I want that it has to able to identify the hand waving for 5sec. Do something if it does
Anyone knows how to do so? I''m doing in a WPF application.
Would like to have some example. I''m rather new to Kinect.
Thanks in advance for all your help!
Did you bother looking at the examples in the SDK like you were directed to the last time you asked this?
I am checking the conditon first
(skeleton.Joints[JointID.HandRight].Position.Y < skeleton.Joints[JointID.Head].Position.Y && skeleton.Joints[JointID.HandRight].Position.Y > (skeleton.Joints[JointID.ElbowRight].Position.Y ) && skeleton.Joints[JointID.HandRight].Position.Y > skeleton.Joints[JointID.WristRight].Position.Y && skeleton.Joints[JointID.HandRight].Position.Y > (skeleton.Joints[JointID.HandLeft].Position.Y)
then i am taking my elbow as a centre pos for the hand wave and storing the right hand values in the list and checking for the given no. of frames
Lets take some ref dist and check the condition
handRight[i].Position.X < (centre + reference)and
handRight[i].Position.X > (centre + reference)
(the above 2 conditions will be satisfied when hand is waved)
and checking for no of waves , same will be done for left hand
EDIT: Copied back the message from OP. I though it was additional info, not an answer. My error, sorry.
这篇关于Kinect手势手势的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!