Face results

  • Combined results of face detector, face mesh, age, gender, emotion, embedding, iris models
  • Some values may be null if specific model is not enabled

Hierarchy

  • FaceResult

Properties

age?: number

detected age

annotations: Record<FaceLandmark, Point[]>

mesh keypoints combined into annotated results

box: Box

detected face box

boxRaw: Box

detected face box normalized to 0..1

boxScore: number

detection score

distance?: number

face distance from camera

embedding?: number[]

face descriptor

emotion?: {
    emotion: Emotion;
    score: number;
}[]

detected emotions

faceScore: number

mesh score

gender?: Gender

detected gender

genderScore?: number

gender detection score

id: number

face id

live?: number

face liveness result confidence

mesh: Point[]

detected face mesh

meshRaw: Point[]

detected face mesh normalized to 0..1

race?: {
    race: Race;
    score: number;
}[]

detected race

real?: number

face anti-spoofing result confidence

rotation?: null | {
    angle: {
        pitch: number;
        roll: number;
        yaw: number;
    };
    gaze: {
        bearing: number;
        strength: number;
    };
    matrix: [number, number, number, number, number, number, number, number, number];
}

face rotation details

score: number

overall face score

size: [number, number]

detected face box size

tensor?: Tensor<Rank>

detected face as tensor that can be used in further pipelines