C# Class PeopleDetector.PeoplePositionDetector

Afficher le fichier Open project: rechc/KinectMiniApps Class Usage Examples

Méthodes publiques

Méthode Description
GetAllPeople ( ) : List

Returns a List of all recognized Skeletons.

GetLookingPeople ( ) : List

Returns a List of Skeletons which are currently looking at the Kinect.

GetPositionOnlyPeople ( ) : List

Returns a List of PositionOnly Skeletons.

GetStayingPeople ( ) : List

Returns a List of Skeletons which are currently standing still.

GetTrackedPeople ( ) : List

Returns a List of Tracked Skeletons.

GetWalkingPeople ( ) : List

Returns a List of Skeletons which are currently walking in front of the Kinect.

IsPeopleLooking ( int trackingId ) : bool

Returns true if the given id is currently looking at the Kinect.

IsPeopleStaying ( int trackingId ) : bool

Returns true if the given id is currently standing still.

IsPeopleTracked ( int trackingId ) : bool

Returns true if the given id is tracked.

IsPeopleWalking ( int trackingId ) : bool

Returns true if the given id is currently walking.

TrackSkeletons ( Microsoft.Kinect.Skeleton skeletons ) : void

Store valid Skeletons with TrackingId as Key from last 20 Frames in a Dictionary. Newest Frame from a Skeleton is at Index 0.

Private Methods

Méthode Description
IsWalking ( List skeletonList ) : bool

Method Details

GetAllPeople() public méthode

Returns a List of all recognized Skeletons.
public GetAllPeople ( ) : List
Résultat List

GetLookingPeople() public méthode

Returns a List of Skeletons which are currently looking at the Kinect.
public GetLookingPeople ( ) : List
Résultat List

GetPositionOnlyPeople() public méthode

Returns a List of PositionOnly Skeletons.
public GetPositionOnlyPeople ( ) : List
Résultat List

GetStayingPeople() public méthode

Returns a List of Skeletons which are currently standing still.
public GetStayingPeople ( ) : List
Résultat List

GetTrackedPeople() public méthode

Returns a List of Tracked Skeletons.
public GetTrackedPeople ( ) : List
Résultat List

GetWalkingPeople() public méthode

Returns a List of Skeletons which are currently walking in front of the Kinect.
public GetWalkingPeople ( ) : List
Résultat List

IsPeopleLooking() public méthode

Returns true if the given id is currently looking at the Kinect.
public IsPeopleLooking ( int trackingId ) : bool
trackingId int
Résultat bool

IsPeopleStaying() public méthode

Returns true if the given id is currently standing still.
public IsPeopleStaying ( int trackingId ) : bool
trackingId int
Résultat bool

IsPeopleTracked() public méthode

Returns true if the given id is tracked.
public IsPeopleTracked ( int trackingId ) : bool
trackingId int
Résultat bool

IsPeopleWalking() public méthode

Returns true if the given id is currently walking.
public IsPeopleWalking ( int trackingId ) : bool
trackingId int
Résultat bool

TrackSkeletons() public méthode

Store valid Skeletons with TrackingId as Key from last 20 Frames in a Dictionary. Newest Frame from a Skeleton is at Index 0.
public TrackSkeletons ( Microsoft.Kinect.Skeleton skeletons ) : void
skeletons Microsoft.Kinect.Skeleton
Résultat void