C# Class PeopleDetector.PeoplePositionDetector

Mostrar archivo Open project: rechc/KinectMiniApps Class Usage Examples

Public Methods

Method 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

Method Description
IsWalking ( List skeletonList ) : bool

Method Details

GetAllPeople() public method

Returns a List of all recognized Skeletons.
public GetAllPeople ( ) : List
return List

GetLookingPeople() public method

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

GetPositionOnlyPeople() public method

Returns a List of PositionOnly Skeletons.
public GetPositionOnlyPeople ( ) : List
return List

GetStayingPeople() public method

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

GetTrackedPeople() public method

Returns a List of Tracked Skeletons.
public GetTrackedPeople ( ) : List
return List

GetWalkingPeople() public method

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

IsPeopleLooking() public method

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

IsPeopleStaying() public method

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

IsPeopleTracked() public method

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

IsPeopleWalking() public method

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

TrackSkeletons() public method

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
return void