使用kinect找到人的身高 [英] finding the height of the person using kinect

查看:85
本文介绍了使用kinect找到人的身高的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在这个论坛上看了帖子,所有帖子都在谈论深度。这个深度表示什么?根据我的理解,它是从kinect传感器到关节位置的距离。对?如果深度表示距离,那么如何找出该人的身高

I read the posts in this forum, All the posts were talking about depth. What is this depth indicates? As per my understanding, it is the distance from kinect sensor to the Joint position. Right? If depth indicates the distance, then how to find out the height of the person?

我真的很困惑,并且此时陷入困境。请有人把我指向正确的方向。

I am really confused and got stuck at this point. Please somebody put me into right direction.

推荐答案

有2个视图;首先,是深度图视图。这只是给出了传感器所有内容的灰度图像。您要使用的视图是骨架视图,它提供所有主要身体部位的XYZ坐标,其中0,0,0是传感器
的位置。您可以通过调出骨架查看器示例应用程序来查看差异。一旦你可以获取用户的骨架数据,获得该人的高度只是从头部Y值减去脚Y值(并添加一点,因为头部
点是头部中间,而不是顶部) 。结果将以米为单位。
There are 2 views; first, is a depth map view. That just gives a grayscale image of how far everything is from the sensor. The view you want to use is the skeleton view, which gives XYZ coordinates of all major body parts, where 0,0,0 is the position of the sensor. You can see the difference by bringing up the skeleton viewer sample application. Once you can grab a user's skeleton data, getting the person's height is just subtracting the foot Y value from the head Y value (and adding a little, as the head point is the middle of the head, not the top). The result will be in meters.


这篇关于使用kinect找到人的身高的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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