Skip to main content

Face Detection

face detection

Use Facial Detection to detect faces of people using this effect. To detect more than one face, assign a Face Detection node to each face in the scene. It can detect up to five faces. Facial Detection is in the Head & Face category.

Input

NameData TypeDescription
Which FaceStringThe face to apply the effect to. Face 0 represents the first face appearing in the scene, Face 4 represents the fifth face appearing in the scene.

Output

NameData TypeDescription
BeginExecExecute the next node when the face is detected.
StayExecKeep executing the next node when the face stays in the scene.
EndExecExecute the next node when the face disappears.
NoneExec ArrayKeep executing the next node when the face is not detected.
Face CountNumberThe number of faces in the scene. The max is 5 faces.

Example

face detection example

This example triggers the appearance of a cube when one face is detected and triggers the appearance of both the cube and the sphere when two faces are detected in the view.

face detection node