Skip to main content
Version: 3.9.0

Pet Face Info

pet face info

Use Pet Face Info to get the coordinates of the selected pet face.

Input

NameData TypeDescription
DetectStringThe pet face to pull information from. Pet faces will be numbered based on the order they enter the frame.

Output

NameData TypeDescription
RectRectA 2D rectangle that frames the selected pet face.
Center PositionVec2The center point of the selected pet face.
RotationVec3The rotation of the selected pet face.
2D KeypointsVec2 ArrayAn array of facial keypoints.
TypeStringWill output Cat or Dog.
cat keypoints   dog keypoints   cat scanning

Example

pet face info example

↓ pet_face_info.zip

In this example, the 2D coordinates for the cat's left and right eye have been pulled from the Array output. As these coordinates are normalized, they are multiplied by the Canvas resolution to convert them into screen space coordinates.

pet face info node