The Kinect adaptor lets you acquire images using a Kinect® for Windows® V1 or V2 device. The Kinect V2 Sensor runs on Windows 8 and above.
|Launch Image Acquisition Tool|
|Create video input object|
|Acquire one frame at a time from video device|
|Acquired image frames to MATLAB workspace|
|Most recently acquired image data|
|Immediately return single image frame|
|Obtain exclusive use of image acquisition device|
|Determine whether video input object is logging|
|Determine whether video input object is running|
|Determine whether image acquisition object is associated with image acquisition device|
|Wait until image acquisition object stops running or logging|
|Stop video input object|
|Clear image acquisition object from MATLAB workspace|
|Remove image acquisition object from memory|
|Remove data from memory buffer used to store acquired image frames|
|Convert video input objects to MATLAB code|
|Sequence of image frames as montage|
|Load image acquisition object into MATLAB workspace|
|Save image acquisition objects to MAT-file|
|Initiate data logging|
|Configure video input object trigger properties|
|Provide information about available trigger configurations|
Because the Kinect for Windows camera has
two separate sensors, the color sensor and the depth sensor, the toolbox
the adaptor to display the two device IDs.
This example shows how to create a
for the color sensor to acquire RGB images and then for the depth
sensor to acquire body data. It also outlines the properties of each
sensor, and the skeletal metadata.
You can synchronize the data from the Kinect for Windows color stream and the depth stream using software manual triggering.
Doing image acquisition with a Kinect for Windows camera is similar to using other cameras and adaptors, but has some key differences. This section also outlines the requirements and supported hardware for Kinect V2.
The Kinect for Windows V2 device returns these data streams in MATLAB. The formats of the image and depth streams are outlined here.