Tools | Bookmark & Share | Make MrWhy My Homepage
MrWhy.com
Go
MrWhy.com » Videos » Skeletal Tracking Fundamentals
Skeletal Tracking Fundamentals
Skeletal Tracking Fundamentals
Report
Skeletal Tracking Fundamentals
This video covers the basics of skeletal tracking using the Kinect sensor. You may find it easier to follow along by downloading the Kinect for Windows SDK Quickstarts samples and slides.[00:31] Skeleton Tracking API [01:24] Understanding Skeleton Quality and Joint data [03:27] Setup skeleton tracking [03:44] Adding a basic hand tracked cursor [09:12] Using TransformSmoothing to remove “skeletal jitter” SetupThe steps below assume you have setup your development environment as explained in the "Setting Up Your Development Environment" video.Task: Setup skeleton trackingCreate the Window_Loaded eventGo to the properties window (F4), select the MainWindow, select the Events tab, and double click on the Loaded event to create the Window_Loaded event Initializing the runtimeCreate a new variable outside of the Window_Loaded event to reference the Kinect runtime.C# Runtime nui = new Runtime();Visual Basic Dim nui As New Runtime()In the Window_Loaded event, initialize the runtime with the options you want to use. For this example, set RuntimeOptions.UseSkeletalTracking to receive skeletal data and register for the SkeletonFrameReady event.C# nui.Initialize(RuntimeOptions.UseSkeletalTracking); nui.SkeletonFrameReady += new EventHandler<SkeletonFrameReadyEventArgs>(nui_SkeletonFrameReady); void nui_SkeletonFrameReady(object sender, SkeletonFrameReadyEventArgs e) { }Visual Basic nui.Initialize(RuntimeOptions.UseSkeletalTracking) AddHandler nui.SkeletonFrameReady, AddressOf nui_SkeletonFrameReady Private Sub nui_SkeletonFrameReady(ByVal sender As Object, ByVal e As SkeletonFrameReadyEventArgs) End SubRunning the applicationAdd a breakpoint inside the SkeletonFrameReady event and run the application.Note – You will need to stand far enough away that the Kinect can see all or most of your skeleton for the SkeletonFrameReady event to fire. When the breakpoint fires, a skeleton position is now being tracked. You can inspect the SkeletonFrameReadyEventArgs ...
Channel: Channel 9
Category: Technology
Video Length: 0
Date Found: June 16, 2011
Date Produced: June 16, 2011
View Count: 0
 
MrWhy.com Special Offers
1
2
3
4
5
 
About Us: About MrWhy.com | Advertise on MrWhy.com | Contact MrWhy.com | Privacy Policy | MrWhy.com Partners
Answers: Questions and Answers | Browse by Category
Comparison Shopping: Comparison Shopping | Browse by Category | Top Searches
Shop eBay: Shop eBay | Browse by Category
Shop Amazon: Shop Amazon | Browse by Category
Videos: Video Search | Browse by Category
Web Search: Web Search | Browse by Searches
Copyright © 2011 MrWhy.com. All rights reserved.