Facial Expression Detection
Use Facial Expression Detection to detect facial expression in the camera. Facial Expression Detection is in the Head & Face category.
Input
Name | Data Type | Description |
---|---|---|
Facial Expression | Built-in “Happy”, “Angry”, “Surprise”, “Disgust”, “Fear”, “Sad”, Neutral” expressions | Expression to detect including Happy, Angry, Surprise, Disgust, Fear, Sad and Neutral. |
Facial Index | Number (Int) | Which face to track. 0 represents the first detected face. |
Output
Name | Data Type | Description |
---|---|---|
Begin | Exec | Execute the next node when the facial expression starts. |
Stay | Exec | Keep executing the next node when the facial expression stays. |
End | Exec | Execute the next node when the facial expression ends. |
None | Exec Array | Keep executing the next node when the facial expression is not detected. |
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.