Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Kinect for Windows SDK Programming Guide
  • Table Of Contents Toc
Kinect for Windows SDK Programming Guide

Kinect for Windows SDK Programming Guide

By : Abhijit Jana
4.6 (16)
close
close
Kinect for Windows SDK Programming Guide

Kinect for Windows SDK Programming Guide

4.6 (16)
By: Abhijit Jana

Overview of this book

Build motion-sensing applications with Microsoft\'s Kinect for Windows SDK quickly and easily with this book and ebook.
Table of Contents (19 chapters)
close
close
Kinect for Windows SDK Programming Guide
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
1
Index

Capturing and processing depth data


To capture the depth data from the Kinect sensor, the program should use exactly the same flow as we used to read the color data stream in the previous chapters.

  1. Enable the depth stream channel with the type of depth image format.

  2. Attach the event handler to the stream channel.

  3. Process the incoming depth frames.

  4. Render the frames on UI.

To start with, you can build a basic WPF application that can capture the raw depth stream and display it. We will extend this application, going forward to explore other features of depth data such as calculating distance and finding player indexes. Perform the following steps to set up a blank project for your DepthCam application:

  1. Start a new instance of Visual Studio.

  2. Create a new project by navigating to File | New Project.

  3. You will see the New Project dialog box. Choose Visual C# as your development language, select WPF Application Template, and type the name as DepthCam.

  4. From Solution Explorer, right-click on the References...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Kinect for Windows SDK Programming Guide
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon