Pet Face Info
Use Pet Face Info to get the coordinates of the selected pet face.
Input
Name | Data Type | Description |
---|---|---|
Detect | String | The pet face to pull information from. Pet faces will be numbered based on the order they enter the frame. |
Output
Name | Data Type | Description |
---|---|---|
Rect | Rect | A 2D rectangle that frames the selected pet face. |
Center Position | Vec2 | The center point of the selected pet face. |
Rotation | Vec3 | The rotation of the selected pet face. |
2D Keypoints | Vec2 Array | An array of facial keypoints. |
Type | String | Will output Cat or Dog. |
Example
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.