# Interface FaceResult

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

interface FaceResult {
age ?: number;
annotations : Record< FaceLandmark , Point []>;
box : Box ;
boxRaw : Box ;
boxScore : number;
distance ?: number;
embedding ?: number[];
emotion ?: { emotion: Emotion ; score: number }[];
faceScore : number;
gender ?: Gender ;
genderScore ?: number;
id : number;
live ?: number;
mesh : Point [];
meshRaw : Point [];
race ?: { race: Race ; score: number }[];
real ?: number;
rotation ?:
| null
| {
angle: { pitch: number; roll: number; yaw: number };
gaze: { bearing: number; strength: number };
matrix: [
number,
number,
number,
number,
number,
number,
number,
number,
number,
];
};
score : number;
size : [number, number];
tensor ?: Tensor < Rank >;
}

- Defined in src/result.ts:27

##### Index

### Properties

age?
annotations
box
boxRaw
boxScore
distance?
embedding?
emotion?
faceScore
gender?
genderScore?
id
live?
mesh
meshRaw
race?
real?
rotation?
score
size
tensor?

## Properties

### `Optional` age

age?: number

detected age

- Defined in src/result.ts:53

### annotations

annotations: Record< FaceLandmark , Point []>

mesh keypoints combined into annotated results

- Defined in src/result.ts:51

### box

box: Box

detected face box

- Defined in src/result.ts:37

### boxRaw

boxRaw: Box

detected face box normalized to 0..1

- Defined in src/result.ts:39

### boxScore

boxScore: number

detection score

- Defined in src/result.ts:33

### `Optional` distance

distance?: number

face distance from camera

- Defined in src/result.ts:65

### `Optional` embedding

embedding?: number[]

face descriptor

- Defined in src/result.ts:63

### `Optional` emotion

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

detected emotions

- Defined in src/result.ts:59

### faceScore

faceScore: number

mesh score

- Defined in src/result.ts:35

### `Optional` gender

gender?: Gender

detected gender

- Defined in src/result.ts:55

### `Optional` genderScore

genderScore?: number

gender detection score

- Defined in src/result.ts:57

### id

id: number

face id

- Defined in src/result.ts:29

### `Optional` live

live?: number

face liveness result confidence

- Defined in src/result.ts:69

### mesh

mesh: Point []

detected face mesh

- Defined in src/result.ts:43

### meshRaw

meshRaw: Point []

detected face mesh normalized to 0..1

- Defined in src/result.ts:45

### `Optional` race

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

detected race

- Defined in src/result.ts:61

### `Optional` real

real?: number

face anti-spoofing result confidence

- Defined in src/result.ts:67

### `Optional` rotation

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

- Defined in src/result.ts:71

### score

score: number

overall face score

- Defined in src/result.ts:31

### size

size: [number, number]

detected face box size

- Defined in src/result.ts:41

### `Optional` tensor

tensor?: Tensor < Rank >

detected face as tensor that can be used in further pipelines

- Defined in src/result.ts:77