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
Property | Modifiers | Type | Description |
---|---|---|---|
BrowDownLeft |
| (not declared) | |
BrowDownRight |
| (not declared) | |
BrowInnerUp |
| (not declared) | |
BrowOuterUpLeft |
| (not declared) | |
BrowOuterUpRight |
| (not declared) | |
CheekPuff |
| (not declared) | |
CheekSquintLeft |
| (not declared) | |
CheekSquintRight |
| (not declared) | |
EyeBlinkLeft |
| (not declared) | |
EyeBlinkRight |
| (not declared) | |
EyeLookDownLeft |
| (not declared) | |
EyeLookDownRight |
| (not declared) | |
EyeLookInLeft |
| (not declared) | |
EyeLookInRight |
| (not declared) | |
EyeLookOutLeft |
| (not declared) | |
EyeLookOutRight |
| (not declared) | |
EyeLookUpLeft |
| (not declared) | |
EyeLookUpRight |
| (not declared) | |
EyeSquintLeft |
| (not declared) | |
EyeSquintRight |
| (not declared) | |
EyeWideLeft |
| (not declared) | |
EyeWideRight |
| (not declared) | |
JawForward |
| (not declared) | |
JawLeft |
| (not declared) | |
JawOpen |
| (not declared) | |
JawRight |
| (not declared) | |
MouthClose |
| (not declared) | |
MouthDimpleLeft |
| (not declared) | |
MouthDimpleRight |
| (not declared) | |
MouthFrownLeft |
| (not declared) | |
MouthFrownRight |
| (not declared) | |
MouthFunnel |
| (not declared) | |
MouthLeft |
| (not declared) | |
MouthLowerDownLeft |
| (not declared) | |
MouthLowerDownRight |
| (not declared) | |
MouthPressLeft |
| (not declared) | |
MouthPressRight |
| (not declared) | |
MouthPucker |
| (not declared) | |
MouthRight |
| (not declared) | |
MouthRollLower |
| (not declared) | |
MouthRollUpper |
| (not declared) | |
MouthShrugLower |
| (not declared) | |
MouthShrugUpper |
| (not declared) | |
MouthSmileLeft |
| (not declared) | |
MouthSmileRight |
| (not declared) | |
MouthStretchLeft |
| (not declared) | |
MouthStretchRight |
| (not declared) | |
MouthUpperUpLeft |
| (not declared) | |
MouthUpperUpRight |
| (not declared) | |
NoseSneerLeft |
| (not declared) | |
NoseSneerRight |
| (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;
Updated over 1 year ago