BlendShapeIndex class

Names of the Action Units that represent a facial expression.

Signature:

export declare abstract class BlendShapeIndex 

Remarks

A single frame of a face is broken down into a vector where each of these features has a value between 0 and 100, and conversely these values can be used to reconstruct a facial expression in detail. This can be used to identify expressions or emotions, detect where someone is looking, whether they are smiling or grimacing, or mirror a face using some avatar.

Action Units were introduced to code facial expressions by the Facial Action Coding System and have common names across facial recognition systems.

Blend shapes are a way to transition between two geometries smoothly, for example between a fully closed eye and a fully open eye; by combining blend shapes for each of these facial features, you can reconstruct a full face. However, despite the name, you can use these action units directly, not just as drivers for blend shapes.

For a graphical preview of what these blend shapes might look like at their extremes, find the corresponding constant in the ARKit documentation. Each constant has its own page with a preview.

Properties

PropertyModifiersTypeDescription
BrowDownLeft

static

readonly

(not declared)
BrowDownRight

static

readonly

(not declared)
BrowInnerUp

static

readonly

(not declared)
BrowOuterUpLeft

static

readonly

(not declared)
BrowOuterUpRight

static

readonly

(not declared)
CheekPuff

static

readonly

(not declared)
CheekSquintLeft

static

readonly

(not declared)
CheekSquintRight

static

readonly

(not declared)
EyeBlinkLeft

static

readonly

(not declared)
EyeBlinkRight

static

readonly

(not declared)
EyeLookDownLeft

static

readonly

(not declared)
EyeLookDownRight

static

readonly

(not declared)
EyeLookInLeft

static

readonly

(not declared)
EyeLookInRight

static

readonly

(not declared)
EyeLookOutLeft

static

readonly

(not declared)
EyeLookOutRight

static

readonly

(not declared)
EyeLookUpLeft

static

readonly

(not declared)
EyeLookUpRight

static

readonly

(not declared)
EyeSquintLeft

static

readonly

(not declared)
EyeSquintRight

static

readonly

(not declared)
EyeWideLeft

static

readonly

(not declared)
EyeWideRight

static

readonly

(not declared)
JawForward

static

readonly

(not declared)
JawLeft

static

readonly

(not declared)
JawOpen

static

readonly

(not declared)
JawRight

static

readonly

(not declared)
MouthClose

static

readonly

(not declared)
MouthDimpleLeft

static

readonly

(not declared)
MouthDimpleRight

static

readonly

(not declared)
MouthFrownLeft

static

readonly

(not declared)
MouthFrownRight

static

readonly

(not declared)
MouthFunnel

static

readonly

(not declared)
MouthLeft

static

readonly

(not declared)
MouthLowerDownLeft

static

readonly

(not declared)
MouthLowerDownRight

static

readonly

(not declared)
MouthPressLeft

static

readonly

(not declared)
MouthPressRight

static

readonly

(not declared)
MouthPucker

static

readonly

(not declared)
MouthRight

static

readonly

(not declared)
MouthRollLower

static

readonly

(not declared)
MouthRollUpper

static

readonly

(not declared)
MouthShrugLower

static

readonly

(not declared)
MouthShrugUpper

static

readonly

(not declared)
MouthSmileLeft

static

readonly

(not declared)
MouthSmileRight

static

readonly

(not declared)
MouthStretchLeft

static

readonly

(not declared)
MouthStretchRight

static

readonly

(not declared)
MouthUpperUpLeft

static

readonly

(not declared)
MouthUpperUpRight

static

readonly

(not declared)
NoseSneerLeft

static

readonly

(not declared)
NoseSneerRight

static

readonly

(not declared)

BlendShapeIndex.BrowDownLeft property

Signature:

static readonly BrowDownLeft = 0;

BlendShapeIndex.BrowDownRight property

Signature:

static readonly BrowDownRight = 1;

BlendShapeIndex.BrowInnerUp property

Signature:

static readonly BrowInnerUp = 2;

BlendShapeIndex.BrowOuterUpLeft property

Signature:

static readonly BrowOuterUpLeft = 3;

BlendShapeIndex.BrowOuterUpRight property

Signature:

static readonly BrowOuterUpRight = 4;

BlendShapeIndex.CheekPuff property

Signature:

static readonly CheekPuff = 5;

BlendShapeIndex.CheekSquintLeft property

Signature:

static readonly CheekSquintLeft = 6;

BlendShapeIndex.CheekSquintRight property

Signature:

static readonly CheekSquintRight = 7;

BlendShapeIndex.EyeBlinkLeft property

Signature:

static readonly EyeBlinkLeft = 37;

BlendShapeIndex.EyeBlinkRight property

Signature:

static readonly EyeBlinkRight = 38;

BlendShapeIndex.EyeLookDownLeft property

Signature:

static readonly EyeLookDownLeft = 43;

BlendShapeIndex.EyeLookDownRight property

Signature:

static readonly EyeLookDownRight = 47;

BlendShapeIndex.EyeLookInLeft property

Signature:

static readonly EyeLookInLeft = 44;

BlendShapeIndex.EyeLookInRight property

Signature:

static readonly EyeLookInRight = 48;

BlendShapeIndex.EyeLookOutLeft property

Signature:

static readonly EyeLookOutLeft = 45;

BlendShapeIndex.EyeLookOutRight property

Signature:

static readonly EyeLookOutRight = 49;

BlendShapeIndex.EyeLookUpLeft property

Signature:

static readonly EyeLookUpLeft = 46;

BlendShapeIndex.EyeLookUpRight property

Signature:

static readonly EyeLookUpRight = 50;

BlendShapeIndex.EyeSquintLeft property

Signature:

static readonly EyeSquintLeft = 41;

BlendShapeIndex.EyeSquintRight property

Signature:

static readonly EyeSquintRight = 42;

BlendShapeIndex.EyeWideLeft property

Signature:

static readonly EyeWideLeft = 39;

BlendShapeIndex.EyeWideRight property

Signature:

static readonly EyeWideRight = 40;

BlendShapeIndex.JawForward property

Signature:

static readonly JawForward = 8;

BlendShapeIndex.JawLeft property

Signature:

static readonly JawLeft = 9;

BlendShapeIndex.JawOpen property

Signature:

static readonly JawOpen = 11;

BlendShapeIndex.JawRight property

Signature:

static readonly JawRight = 10;

BlendShapeIndex.MouthClose property

Signature:

static readonly MouthClose = 12;

BlendShapeIndex.MouthDimpleLeft property

Signature:

static readonly MouthDimpleLeft = 19;

BlendShapeIndex.MouthDimpleRight property

Signature:

static readonly MouthDimpleRight = 20;

BlendShapeIndex.MouthFrownLeft property

Signature:

static readonly MouthFrownLeft = 25;

BlendShapeIndex.MouthFrownRight property

Signature:

static readonly MouthFrownRight = 26;

BlendShapeIndex.MouthFunnel property

Signature:

static readonly MouthFunnel = 13;

BlendShapeIndex.MouthLeft property

Signature:

static readonly MouthLeft = 15;

BlendShapeIndex.MouthLowerDownLeft property

Signature:

static readonly MouthLowerDownLeft = 29;

BlendShapeIndex.MouthLowerDownRight property

Signature:

static readonly MouthLowerDownRight = 30;

BlendShapeIndex.MouthPressLeft property

Signature:

static readonly MouthPressLeft = 33;

BlendShapeIndex.MouthPressRight property

Signature:

static readonly MouthPressRight = 34;

BlendShapeIndex.MouthPucker property

Signature:

static readonly MouthPucker = 14;

BlendShapeIndex.MouthRollLower property

Signature:

static readonly MouthRollLower = 24;

BlendShapeIndex.MouthRight property

Signature:

static readonly MouthRight = 16;

BlendShapeIndex.MouthRollUpper property

Signature:

static readonly MouthRollUpper = 21;

BlendShapeIndex.MouthShrugLower property

Signature:

static readonly MouthShrugLower = 23;

BlendShapeIndex.MouthSmileLeft property

Signature:

static readonly MouthSmileLeft = 17;

BlendShapeIndex.MouthShrugUpper property

Signature:

static readonly MouthShrugUpper = 22;

BlendShapeIndex.MouthSmileRight property

Signature:

static readonly MouthSmileRight = 18;

BlendShapeIndex.MouthStretchLeft property

Signature:

static readonly MouthStretchLeft = 35;

BlendShapeIndex.MouthStretchRight property

Signature:

static readonly MouthStretchRight = 36;

BlendShapeIndex.MouthUpperUpLeft property

Signature:

static readonly MouthUpperUpLeft = 27;

BlendShapeIndex.MouthUpperUpRight property

Signature:

static readonly MouthUpperUpRight = 28;

BlendShapeIndex.NoseSneerLeft property

Signature:

static readonly NoseSneerLeft = 31;

BlendShapeIndex.NoseSneerRight property

Signature:

static readonly NoseSneerRight = 32;