Skip to main content
Version: 3.9.0

Pet Face Detection

Use Pet Face Detection to detect if there are cats or dogs in the camera.

Input

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

Output

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

Example

pet face detection example

In this example, a plane tracked to a cat’s face will appear when a cat is detected. Using an Animation Sequence Controller, the text will display how many cats are on screen.

pet face detection node