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

Face Info

Use Face Info to get coordinates of selected human faces and identify which human is on the screen.

Input

NameData typeDescription
DetectStringThe face to pull information from. Faces will be numbered based on the order they enter the frame.

Output

NameData typeDescription
RectRectA 2D rectangle that frames the selected face.
Center PositionVec2The center point of the selected face.
RotationVec3The rotation of the selected face.
2D KeypointsVec2 ArrayAn array of 106 facial keypoints
unaligned-image-0
unaligned-image-1

Example

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