请帮我。我有关于kinect V2的问题。 [英] Please help me. I have question bout kinect V2.

查看:74
本文介绍了请帮我。我有关于kinect V2的问题。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

kinect for windows V1,SKD 1.8。有TransformSmoothParameters,我们可以让骨架跟踪平滑。但是在sdk 2.0中,我找不到它。事实上,我想让鼠标跟着我的手,现在它抖动了。怎么做,比如SDK1.8。 (谢谢)


  var tsp = new TransformSmoothParameters

                {

                   平滑= 0.5f,

                   更正= 0.5f,

                   预测= 0.5f,

                    JitterRadius = 0.05f,

                    MaxDeviationRadius = 0.04f

                };
                kinect.SkeletonStream.Enable(TSP);



解决方案

管道中没有内置联合平滑选项有不同的过滤方法。对于v2,许多联合数据非常稳定,因为传感器设置正确,传感器安装在离地板6英尺的位置并且朝下,因此可以看到
的地板。此外,请确保如果将其放在壁架/架子上,则边缘不在可以夹住地板的视野中。 


用于联合过滤代码的实现看看这个帖子:


https://social.msdn.microsoft.com/Forums/en-US/045b058a-ae3a-4d01-beb6-b756631b4b42/joint-smoothing-code-c?论坛= kinectv2sdk


kinect for windows V1,SKD 1.8.there are TransformSmoothParameters ,we can make skeleton tracking smoothing.But in sdk 2.0,i cound not find it. In fact, i want to make the mouse follow my hand,now it jitter. How to do it ,like SDK1.8. (Thanks)

  var tsp = new TransformSmoothParameters
                {
                    Smoothing = 0.5f,
                    Correction = 0.5f,
                    Prediction = 0.5f,
                    JitterRadius = 0.05f,
                    MaxDeviationRadius = 0.04f
                };
                kinect.SkeletonStream.Enable(tsp);


解决方案

There are no joint smoothing options built into the pipeline as there are different filtering methods. With v2, a lot of the joint data is very stable given proper sensor setup where the sensor is mounted 6feet from the floor and pointed down so it can see the floor. Additionally, be sure if you have it on a ledge/shelf, the edge is not in the field of view where it could clip the floor. 

For an implementation of joint filtering code have a look at this thread:

https://social.msdn.microsoft.com/Forums/en-US/045b058a-ae3a-4d01-beb6-b756631b4b42/joint-smoothing-code-c?forum=kinectv2sdk


这篇关于请帮我。我有关于kinect V2的问题。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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