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
but could be used with MATLAB
The image stream returns color image data using the Kinect color sensor. The Kinect V2 adaptor supports the following format.
|RGB 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.|
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.
|Resolution of 512 x 424, frame rate of 30 frames per second.|
The body stream returns body data using the Kinect depth device
EnableBodyTracking property is set to
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
is set to
on. This is returned as part of the body
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.