User`s guide
12 Using the Kinect for Windows Adaptor
12-14
vid2 = videoinput('kinect',2,'Depth_640x480');
6
Look at the device-specific properties on the source device, which is the depth sensor
on the Kinect.
src = getselectedsource(vid2);
src
Display Summary for Video Source Object:
 General Settings:
 Parent = [1x1 videoinput]
 Selected = on
 SourceName = DepthSource
 Tag = 
 Type = videosource
 Device Specific Properties:
 Accelerometer = [0.0 -1.0 0.0]
 BodyPosture = Standing
 CameraElevationAngle = 4
 DepthMode = Default
 FrameRate = 30
 IREmitter = on 
 SkeletonsToTrack = [1x0 double]
 TrackingMode = off
As you can see in the output, the depth sensor has a set of device-specific properties
associated with skeletal tracking. These properties are specific to the depth sensor.
Device-Specific Property – Depth
Sensor
Description
Accelerometer Returns 3D vector of acceleration data for both the
color and depth sensors. The data is updated while
the device is running or previewing.
This 1 x 3 double represents the x, y, and z values
of acceleration in gravity units g (9.81m/s^2). For
example,










