Skip to main content
TikTok Effect House Platform Logo
Download
Log in
Head and face

Pet Face Detection

Use Pet Face Detection to detect if there are cats and/or dogs in frame and if so, how many. Pet Face Detection is in the Head & Face category.

Input

NameData typeDescription
DetectStringThe pet face to apply the effect to. Faces will be numbered based on the order they enter the frame

Output

NameData typeDescription
BeginExecExecute the next node when the pet face is detected
StayExecExecute the next node as long as the pet face is detected
EndExecExecute the next node when the pet face is no longer detected
NoneExecExecute the next node as long as no pet face is detected
Face CountNumberThe number of pet faces in the frame

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.