<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Comment Feed for Channel 9 - Put down the measuring tape. Using the Kinect to find your height</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/coding4fun/kinect/Put-down-the-measuring-tape-Using-the-Kinect-to-find-your-height/RSS"></atom:link>
	<image>
		<url>http://files.channel9.msdn.com/thumbnail/b7e58be4-1131-4700-8497-f21bcfc8e486.png</url>
		<title>Channel 9 - Put down the measuring tape. Using the Kinect to find your height</title>
		<link></link>
	</image>
	<description>When I saw this, the first thing I thought was just how cool a thing an amusement park could build with this. Gone could be the days of the &amp;quot;You must be taller than this bar,&amp;quot; instead replaced with an interactive, themed for the park, height measurement experience. Image standing there with a virtual Mickey or Donald or Bugs Bunny and using the Kinect to measure your children&#39;s height, compared to them? (Can&#39;t you just see Mickey holding up his virtual hand over a child&#39;s head and saying, &amp;quot;Great! You made it? I can&#39;t wait to see you...&amp;quot; or a sad Mickey when the child isn&#39;t tall enough?) Kinect for Windows: Find user height accuratelySome people ask me if there is a way to determine the height of a user standing in front of a Kinect device. The answer is definitely positive: We can detect the user&#39;s height regardless of her distance from the sensor! We only need some very basic Math knowledge. Let&#39;s find out more... The algorithm of finding the user&#39;s heightKinect provides you with the coordinates (X, Y and Z) of 20 skeleton joints. Someone might think that a person&#39;s height is the distance from the head joint to a foot joint, right? Wrong! Your users might stand in bended knees, they might lean a bit to the left or to the right. If you try to calculate the distance defined from the head joint to one of the foot joints, you&#39;ll get a far from accurate result. Another point of interest is that Kinect gives you the center of the head joint. This means that you&#39;ll need to add 9 - 12 centimetres to the calculated height. You won&#39;t be able to calculate the total height with 100% accuracy. If you need more accuracy, you&#39;ll need to detect the end of the head using the depth stream. Not that difficult, but let&#39;s focus on the skeleton stream right now. If you examine the human skeleton joints a little more carefully, you&#39;ll notice that the height is the sum of the lengths of the following line segments: Head - ShoulderCenter ShoulderCenter - Spine Spine - HipCenter HipCenter - KneeLeft or KneeRight KneeLeft / KneeRight - AnkleLeft / AnkleRight AnkleLeft / AnkleRight - FootLeft / FootRight Project Information URL: http://studentguru.gr/b/vangos/archive/2012/05/07/kinect-for-windows-find-user-height-accurately.aspx Project Download URL: http://studentguru.gr/cfs-file.ashx/__key/communityserver-components-postattachments/00-00-13-54-17/KinectUserHeight.zip Project Source URL: http://studentguru.gr/cfs-file.ashx/__key/communityserver-components-postattachments/00-00-13-54-17/KinectUserHeight.zip  Finally, you can use this extension method within a custom application easily: void Sensor_SkeletonFrameReady(object sender, SkeletonFrameReadyEventArgs e)
{
    using (var frame = e.OpenSkeletonFrame())
    {
        if (frame != null)
        {
            Skeleton[] skeletons = new Skeleton[frame.SkeletonArrayLength];
            frame.CopySkeletonDataTo(skeletons);

            var skeleton = skeletons.Where(s =&amp;gt; s.TrackingState == SkeletonTrackingState.Tracked).FirstOrDefault();

            if (skeleton != null)
            {
                double height = skeleton.Height();
            }
        }
    }
}

 You can now integrate this code to your own applications and find out the user&#39;s height! Download the complete WPF application in order to see it in action right now! Enjoy kinecting! Contact Information: Blog: http://studentguru.gr/b/vangos Twitter: @pterneas </description>
	<link></link>
	<language>en</language>
	<pubDate>Thu, 23 May 2013 12:18:51 GMT</pubDate>
	<lastBuildDate>Thu, 23 May 2013 12:18:51 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<item>
		<title>Re: Put down the measuring tape. Using the Kinect to find your height</title>
		<description>
			<![CDATA[<p>Cool Project</p><p>posted by BrentMorrisRTP</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/kinect/Put-down-the-measuring-tape-Using-the-Kinect-to-find-your-height#c634732882937310750</link>
		<pubDate>Tue, 22 May 2012 12:58:13 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/kinect/Put-down-the-measuring-tape-Using-the-Kinect-to-find-your-height#c634732882937310750</guid>
		<dc:creator>BrentMorrisRTP</dc:creator>
	</item>
</channel>
</rss>