Skip to main content
Version: 3.9.0

Facial Expression Detection

facial expression detection

Use Facial Expression Detection to detect facial expression in the camera. Facial Expression Detection is in the Head & Face category.

Input

NameData TypeDescription
Facial ExpressionBuilt-in “Happy”, “Angry”, “Surprise”, “Disgust”, “Fear”, “Sad”, Neutral” expressionsExpression to detect including Happy, Angry, Surprise, Disgust, Fear, Sad and Neutral.
Facial IndexNumber (Int)Which face to track. 0 represents the first detected face.

Output

NameData TypeDescription
BeginExecExecute the next node when the facial expression starts.
StayExecKeep executing the next node when the facial expression stays.
EndExecExecute the next node when the facial expression ends.
NoneExec ArrayKeep executing the next node when the facial expression is not detected.

Example

facial expression detection example

The 3D face mask color will change to red when it detects a happy expression. The 3D face mask will return to white, its original color, when the happy expression disappears.

facial expression detection node