|
Skeletal Tracking Fundamentals
|
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 ...
Video Length: 0
Date Found: June 16, 2011
Date Produced: June 16, 2011
View Count: 0
|
|
|
|
|
I got punched by an old guy, for farting near his wife. Read MoreComic book creator Stan Lee talks the future of the medium in the digital age. Panelists Zachary... Read MoreThe U.S. launch of Spotify is still on music lovers' minds. Join Zachary Levi, from NBC’s... Read MoreTuesday: Rupert Murdoch testifies before Parliament on the hacking scandal that brought down "News... Read MoreAfter a long slump, the home construction industry may be showing signs of life. But as Bill... Read More | 1 2 3 4 5 |
|
|
|