Facial Movement Detection

Use Facial Movement Detection to detect facial movement. Facial Movement Detection is in the Head & Face category.

Note
Each facial movement has four states, “begin”, “stay”, “end”, and “none”. For movement such as eye blink, even the fastest blink will still have one frame “stay” state.
Input
Name | Data type | Description |
Detect | String | Face select includes Face 0, Face 1, Face 2, Face 3, Face 4, Any; Track any face if choosing Any |
Facial Movement | String | Facial movement including Eye Blink Left, Eye Blink Right, Eye Blink Both, Eye Blink Either, Mouth Open, Mouth Pout, Eyebrow Wiggle |
Output
Name | Data type | Description |
Begin | Exec | Execute the next node when the facial movement begins |
Stay | Exec | Keep executing the next node when the facial movement stays, note that even with movements such as blink, the fastest eye blink will still have one frame as “stay” |
End | Exec | Execute the next node when the facial movement ends |
None | Exec | Keep executing the next node when the facial movement is not detected |
Example

In this example, we use the Facial Movement Detection node to show the alien hat when she opens her mouth and hide it when she closes her mouth. Check out Head Tracking and Animation Controller for adding the alien hat.
