User`s guide
Using VideoDevice System Object to Acquire Frames
14-9
You can then look at both outputs. To see the image frame:
imshow(imageData)
To see the metadata output:
metadata
Note: The Kinect for Windows Depth sensor may take some seconds to be ready to begin
acquiring skeletal metadata. In order to see values in the metadata output, you need to
acquire multiple frames using the step function repeatedly. You can do this by using a for
loop.
“Acquiring Image and Skeletal Data Using Kinect” on page 12-9 is an example that
shows how to access the skeletal metadata using the videoinput object (not the
VideoDevice System object), and it contains information about the properties you can
set on both the Color and Depth sensors, and descriptions of all the metadata fields. The
property names and values are the same as they would be for the System object, but you
would then need to set the properties as shown in step 3 of the above example (in the
current topic) for use with the VideoDevice System object.