Skip to main content

FaceData

Comprehensive data structure for a detected face. Contains information about the face's position, tracking, confidence, orientation, and feature token.

type FaceData = {
rect: FaceRect;
trackId: number;
detConfidence: number;
angle: FaceEulerAngle;
token: ArrayBuffer;
};

Properties

PropertyTypeDescription
rectFaceRectRectangle defining the face region
trackIdnumberUnique identifier for tracking the face across frames
detConfidencenumberConfidence score of the face detection
angleFaceEulerAngle3D orientation of the face
tokenArrayBufferBinary token containing face feature data