C# Класс PeopleDetector.PeoplePositionDetector

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
IsWalking ( List skeletonList ) : bool

Описание методов

GetAllPeople() публичный Метод

Returns a List of all recognized Skeletons.
public GetAllPeople ( ) : List
Результат List

GetLookingPeople() публичный Метод

Returns a List of Skeletons which are currently looking at the Kinect.
public GetLookingPeople ( ) : List
Результат List

GetPositionOnlyPeople() публичный Метод

Returns a List of PositionOnly Skeletons.
public GetPositionOnlyPeople ( ) : List
Результат List

GetStayingPeople() публичный Метод

Returns a List of Skeletons which are currently standing still.
public GetStayingPeople ( ) : List
Результат List

GetTrackedPeople() публичный Метод

Returns a List of Tracked Skeletons.
public GetTrackedPeople ( ) : List
Результат List

GetWalkingPeople() публичный Метод

Returns a List of Skeletons which are currently walking in front of the Kinect.
public GetWalkingPeople ( ) : List
Результат List

IsPeopleLooking() публичный Метод

Returns true if the given id is currently looking at the Kinect.
public IsPeopleLooking ( int trackingId ) : bool
trackingId int
Результат bool

IsPeopleStaying() публичный Метод

Returns true if the given id is currently standing still.
public IsPeopleStaying ( int trackingId ) : bool
trackingId int
Результат bool

IsPeopleTracked() публичный Метод

Returns true if the given id is tracked.
public IsPeopleTracked ( int trackingId ) : bool
trackingId int
Результат bool

IsPeopleWalking() публичный Метод

Returns true if the given id is currently walking.
public IsPeopleWalking ( int trackingId ) : bool
trackingId int
Результат bool

TrackSkeletons() публичный Метод

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
Результат void