Share via


DepthImageStream.TooNearDepth Property

Kinect for Windows 1.5, 1.6, 1.7, 1.8

Gets the depth value (in millimeters) that indictates a person is too close to the sensor to track.

Syntax

public int TooNearDepth { get; }
'Declaration
Public ReadOnly Property TooNearDepth As Integer 

Property Value

Type: Int32
A depth value.

Remarks

Use this property to get the depth value that you can use for comparison with the actual depth value to see if the person is too close to the sensor to be tracked.

This value is guaranteed to be smaller than the DepthImageStream.MinDepth property. In addition, if a person is very near, the method may return the value of the DepthImageStream.UnknownDepth property.

To see the actual value for data that is too near, see the values in Depth Space Range.

Requirements

Namespace: Microsoft.Kinect

Assembly: Microsoft.Kinect (in microsoft.kinect.dll)

See Also

Reference

DepthImageStream Class
DepthImageStream Members
Microsoft.Kinect Namespace