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.
|Detect||String||The pet face to apply the effect to. Faces will be numbered based on the order they enter the frame|
|Begin||Exec||Execute the next node when the pet face is detected|
|Stay||Exec||Execute the next node as long as the pet face is detected|
|End||Exec||Execute the next node when the pet face is no longer detected|
|None||Exec||Execute the next node as long as no pet face is detected|
|Face Count||Number||The number of pet faces in the frame|
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.