Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Kinect in Motion - Audio and Visual Tracking by Example

You're reading from  Kinect in Motion - Audio and Visual Tracking by Example

Product type Book
Published in Apr 2013
Publisher Packt
ISBN-13 9781849697187
Pages 112 pages
Edition 1st Edition
Languages

Table of Contents (12) Chapters

Kinect in Motion – Audio and Visual Tracking by Example
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
1. Kinect for Windows – Hardware and SDK Overview 2. Starting with Image Streams 3. Skeletal Tracking 4. Speech Recognition Kinect Studio and Audio Recording Index

Tracking users


The application flow for tracking users is very similar to the process we described in the color frame and depth frame management:

  1. Firstly, we need to ensure that at least one Kinect sensor is connected.

  2. Secondly, we have to enable the stream (in this case the skeleton one).

  3. And finally, we need to handle the frames that the sensor is streaming through the relevant SDK APIs.

In this chapter we will mention only the code that is relevant to skeletal tracking. The source code attached to the book does include all the detailed code and we can refer to the previous chapter to refresh ourselves on how to address step 1.

To enable the skeleton stream, we simply invoke the KinectSensor.SkeletonStream.Enable() method.

The Kinect sensor streams out in the skeleton stream's skeleton tracking data. This data is structured in the Skeleton class as a collection of joints. A joint is a point at which two skeleton bones are joined. This point is defined by the SkeletonPoint structure, which defines...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}