User`s guide
Using VideoDevice System Object to Acquire Frames
14-7
5
Acquire a single frame using the step function.
frame = step(vidobj);
6
Display the acquired frame.
imshow(frame)
7
Release the hardware resource.
release(vidobj);
8
Clear the VideoDevice System object.
clear vidobj;
Kinect for Windows Metadata
You can return Kinect for Windows skeleton data using the VideoDevice System object on
the Kinect Depth sensor.
Typically in the Image Acquisition Toolbox, each camera or image device has one device
ID. Because the Kinect for Windows camera has two separate sensors, the Color sensor
and the Depth sensor, the toolbox lists two device IDs. The Kinect Color sensor is device
1 and the Kinect depth sensor is device 2.