Chapter 12. Taking Kinect Further

After completing this chapter, you will:

  • Discover how a program can adjust the sensor position

  • Understand how to track multiple skeletons using Kinect

  • Use the Kinect microphone to locate the source of a sound

  • See how Kinect can be used in robotics

  • Have some ideas about what to do next

Adjusting the Sensor Angle

THE KINECT SENSOR BASE CONTAINS a small electric motor that can be used to adjust the angle of the sensor. The sensor can be adjusted up and down to allow it to have the best possible view of the scene in front of it. A program can change the angle of the sensor by altering the ElevationAngle property of an active Kinect sensor.

myKinect.ElevationAngle += 10;

The preceding statement would tilt the sensor up by 10 ...

Get Start Here!™ Learn Microsoft® Kinect API now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.