Share via


SkeletonStream.ChooseSkeletons Method

Kinect for Windows 1.5, 1.6, 1.7, 1.8

Overloaded methods for choosing which skeletons to track.

Overload List

Name Description
SkeletonStream.ChooseSkeletons () Choose skeletons to track. (The runtime chooses.)
SkeletonStream.ChooseSkeletons (Int32) Choose a skeleton to track using a tracking ID.
SkeletonStream.ChooseSkeletons (Int32, Int32) Choose up to 2 skeletons to track using tracking IDs.

Remarks

Your application may have one or more people in front of the Kinect. Use this method to determine whether your application or the runtime chooses which people to track and provide skeleton data for. You may actively track up to 2 people simultaneously.

A tracking ID uniquely identifies a skeleton and is assigned when a person is recognized in the interaction space. As long as the person remains in the interaction space, the tracking ID will remain valid.

You can choose to track all skeleton joints or the upper half of the skeleton joints when using the seated tracking mode. See Tracking Modes (Seated and Default) for more information about the skeleton tracking modes. Use the SkeletonStream.TrackingMode property and the SkeletonFrame.TrackingMode property to get or set the skeleton tracking mode using one of the values in the SkeletonTrackingMode enumeration.

See Also

Reference

SkeletonStream Class
SkeletonStream Members
Microsoft.Kinect Namespace