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 (13 chapters)
close
close
12
Index

Detecting multiple Kinects

The KinectSensor class has a static property of type KinectSensorCollection, named KinectSensors, which consists of the collection of sensors that are connected with the system. The KinectSensor class returns the collection of connected Kinect devices with your system. KinectSensorCollection is a read-only collection of type Kinect sensor. Each KinectSensorCollection contains an indexer of the KinectSensor object and an event named StatusChanged.

The following code block shows the definition of the KinectSensorCollection class:

public sealed class KinectSensorCollection : ReadOnlyCollection<KinectSensor>, IDisposable
{
        public KinectSensor this[string instanceId] { get; }
        public event EventHandler<StatusChangedEventArgs> StatusChanged;
        public void Dispose();
}

We need to get hold of the KinectSensor property most of the time to get access to the sensor information.

Getting access to the individual sensor

We can get the instance by...

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