如何跟踪头部位置 [英] How to track head position

查看:174
本文介绍了如何跟踪头部位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想做类似于Johhny李在他的Wii头部跟踪
http://www.youtube.com/watch?v=Jd3-eiid-Uw&feature=player_embedded

I want to do something similar to what Johhny Lee did in his Wii head tracking http://www.youtube.com/watch?v=Jd3-eiid-Uw&feature=player_embedded

不过,我想用Kinect的。由于微软的SDK公开骨骼关节,我曾希望我也许能够只用它来获得头位置。问题是,我想和我的台式电脑和其监视器做到这一点。如果我把Kinect感应器旁边的我的显示器,坐在办公桌。非常简单,只是我的头和颈部的传感器可见的,所以在我的头部位置的骨骼跟踪犯规皮卡。

But I want to use the Kinect. Since Microsoft's sdk exposes the skeletal joints, I had hoped I might be able to just use that to get the head position. The problem is that I want to do this with my desktop computer and its monitor. If I put the Kinect sensor right next to my monitor and sit at the desk. pretty much just my head and neck are visible to the sensor, so the skeletal tracking doesnt pickup on my head position.

是任何人都熟悉使用Kinect的头部跟踪项目?最好是在C#

Is anyone familiar with a head tracking project using the Kinect? Preferably in C#

推荐答案

我认为这个程序,你将无法使用任何框架提供的骨骼跟踪,如微软的SDK或OpenNI

I think for this application you are not able to use skeleton tracking provided by any framework such as Microsoft's SDK or OpenNI.

我将通过施加深度阈值的原始深度数据提议段的用户的头部。这应导致背景降低。我认为目前已经存在哪些做到这一点的方法。

I would propose to segment the head of the user by applying a depth threshold to the raw depth data. This should result in background reduction. I think there are already existing methods which do this.

作为第二个步骤,你woud希望有类似的分段用户内部的轴。最简单的方法是使用OpenCV的 fitEllipse 。返回的椭圆与深度信息相结合的长轴给你这个轴

As second step you woud like to have something like an axis inside the segmented user. The simplest approach would be to use opencv fitEllipse. The major axis of the returned ellipse combined with the depth information gives you this axis.

当最分段点属于该使用者的头部此方法才有效。如果你是渐行渐远,你必须考虑到段的方法只有头部。椭圆拟合应该能正常工作。

This approach only works when most segmented points belong to the head of the user. If you are further away you have to think about a method to segment only the head. The ellipse fitting should always work.

这篇关于如何跟踪头部位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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