Main Content

Data Streams Returned by the Kinect V2 Adaptor in MATLAB

The Kinect® for Windows® V2 device returns these data streams in MATLAB®.

  • Image stream (returned by the color sensor)

  • Depth stream (returned by the depth sensor)

  • Body stream (returned by the depth sensor)

  • Body Index stream (returned by the depth sensor)

  • Audio stream (not used by the Image Acquisition Toolbox™, but could be used with MATLAB audiorecorder)

Image Stream

The image stream returns color image data using the Kinect color sensor. The Kinect V2 adaptor supports the following format.

FormatDescription
RGB_1920x1080RGB format. Resolution of 1920 x 1080, frame rate of 30 frames per second, which is the maximum allowed. If light is low, the sensor changes to 15 frames per second to allow in more light for a better exposure.

Depth Stream

The depth stream returns depth data of scene and body segmentation data as part of the metadata using the Kinect depth sensor. For body tracking, you can track up to six people at a given time, with full tracking on all six. The tracking range is .5 to 4.5 meters.

The depth stream for the Kinect V2 adaptor supports the following format.

FormatDescription
DEPTH_512X424Resolution of 512 x 424, frame rate of 30 frames per second.

Body Stream

The body stream returns body data using the Kinect depth device when the EnableBodyTracking property is set to on. The body frame returned contains data on the ground plane position and a timestamp. It contains the overall position of the body and the 3-D position of all 25 joints (position in meters). Up to six bodies are actively tracked.

Body Index Stream

The body index stream returns segmentation data using the Kinect depth device when the EnableBodyTracking property is set to on. This is returned as part of the body metadata.

Note

To understand the differences in using the Kinect adaptor compared to other toolbox adaptors, see Key Features and Differences in the Kinect V2 Support. For information about Kinect device discovery and the use of two device IDs, see Detect the Kinect V2 Devices. For an example showing how to acquire color images and body metadata, see Acquire Image and Body Data Using Kinect V2.