Share via


Activity Enumeration

The available activity types.

Syntax

typedef enum _Activity
{
    Activity_EyeLeftClosed = 0,
    Activity_EyeRightClosed = 1,
    Activity_MouthOpen = 2,
    Activity_MouthMoved = 3,
    Activity_LookingAway = 4,
    Activity_Count = (Activity_LookingAway+1)
} Activity, Activity_EyeLeftClosed, Activity_EyeRightClosed, Activity_MouthOpen, Activity_MouthMoved, Activity_LookingAway, Activity_Count;

Constants

Constant Description
Activity_EyeLeftClosed The left eye is closed.
Activity_EyeRightClosed The right eye is closed.
Activity_MouthOpen The mouth is open.
Activity_MouthMoved The mouth is closed.
Activity_LookingAway The person is looking away from the sensor.
Activity_Count Max value; (Activity_LookingAway+1) .

Requirements

Header: kinect.h

Library: kinect20.lib