kinect sdk 2.0 joint angles and tracking

。_饼干妹妹 提交于 2019-12-04 21:11:42
jbuchel
foreach (Joint joint in skeleton.Joints)
            {
                if (joint.TrackingState == JointTrackingState.Tracked)
                {
                    //Do something                    
                }
                else if (joint.TrackingState == JointTrackingState.Inferred)
                {
                    //Do something else                   
                }
            }

This loops through the Joints array and checks for every Joint if the JointTrackingState is Tracked, Inferred or NotTracked, see here. The program to calculate the angles is perfectly fine.

If you have more questions on how to calculate the angle of Joints see here.

If you want a working programm, I'll send it to you per e-mail. Or see here. Hope this helps :)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!