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.
Track the user’s face from the face tracker.
Output the value to the next patch.
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.