Surprised Face Patch

Use the Surprised Face patch to make something happen while the user makes a surprised face.

Spark AR detects a surprised face by registering facial movements like the position of the corners of the mouth and raising eyebrows.

Input

NameDescription

Face

Track the user’s face from the face tracker.

Output

NameDescription
Output

Output the value to the next patch.

Example

In the example below, an object appears when the user makes a surprised face. The object disappears when the user no longer makes a surprised face.

To do this, we connected the output on the Surprised Face patch to the Visible input on the object patch.

Was this article helpful?