Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Kinect in Motion - Audio and Visual Tracking by Example

You're reading from   Kinect in Motion - Audio and Visual Tracking by Example Start building for the Kinect today by capturing gestures, movements, and spoken voice commands

Arrow left icon
Product type Paperback
Published in Apr 2013
Publisher Packt
ISBN-13 9781849697187
Length 112 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Table of Contents (12) Chapters Close

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 FREE CHAPTER 2. Starting with Image Streams 3. Skeletal Tracking 4. Speech Recognition Kinect Studio and Audio Recording Index

Depth stream


The process, and the relating code for getting our depth stream data displayed, is very similar to the one we detailed for the color stream data.

In this section, we will list and document the essential steps for working with the depth stream data. The example attached to this chapter will provide all the additional details.

In order to process the depth stream data obtained by the connected KinectSensor, sensor we need to enable the KinectSensor.DepthStream using the KinectSensor.DepthStream.Enable(ColorImageFormat colorImageFormat) API.

The KinectSensor.DepthFrameReady is the event that the sensor fires when a new frame from the depth stream data is ready. The Kinect sensor streams data out continuously, one frame at a time, till the sensor is stopped or the depth stream is disabled. To stop the sensor, you can use the KinectSensor.Stop() method, and to disable the depth stream, use the KinectSensor.DepthStream.Disable() method.

We can register to the KinectSensor.DepthFrameReady...

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 $19.99/month. Cancel anytime
Banner background image