Skip to main content

Face Info

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.
keypoints   facial scanning

Example

face info example

↓ face_info.zip

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 are multiplied by the Canvas resolution to convert them into screen space coordinates.

face info node