Questions tagged «motion-detection»


1
将Kinect的v2.0 Motion存储到BVH文件
我想将Kinect 2中的运动捕捉数据存储为BVH文件。我找到了针对Kinect 1的代码,可以在此处找到。我遍历了代码,发现了一些我无法理解的东西。例如,在上述代码中,我试图理解skel在代码中多个位置发现的Skeleton 对象究竟是什么。如果不是,是否有任何已知的应用程序可以实现预期的目标? 编辑:我试图将Skeleton skel更改为Body skel,我认为这是kinect SDK 2.0的对应对象。但是,当我尝试获取身体的位置时出现错误: tempMotionVektor[0] = -Math.Round( skel.Position.X * 100,2); tempMotionVektor[1] = Math.Round( skel.Position.Y * 100,2) + 120; tempMotionVektor[2] = 300 - Math.Round( skel.Position.Z * 100,2); 调用Body skel函数Position时出现错误。如何在SDK 2.0中检索骨架的X,Y,Z?我试图将以上三行更改为: tempMotionVektor[0] = -Math.Round(skel.Joints[0].Position.X * 100, 2); tempMotionVektor[1] = Math.Round(skel.Joints[0].Position.Y * 100, 2) + 120; tempMotionVektor[2] = …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.