# Interface FaceConfig

Configures all face-specific options: face detection, mesh analysis, age, gender, emotion detection and face description

interface FaceConfig {
antispoof : Partial< FaceAntiSpoofConfig >;
attention : Partial< FaceAttentionConfig >;
description : Partial< FaceDescriptionConfig >;
detector : Partial< FaceDetectorConfig >;
emotion : Partial< FaceEmotionConfig >;
enabled : boolean;
gear : Partial< FaceGearConfig >;
iris : Partial< FaceIrisConfig >;
liveness : Partial< FaceLivenessConfig >;
mesh : Partial< FaceMeshConfig >;
modelPath : string;
skipFrames : number;
skipTime : number;
}

#### Hierarchy (View Summary)

- GenericConfig
  - FaceConfig

- Defined in src/config.ts:93

##### Index

### Properties

antispoof
attention
description
detector
emotion
enabled
gear
iris
liveness
mesh
modelPath
skipFrames
skipTime

## Properties

### antispoof

antispoof: Partial< FaceAntiSpoofConfig >

- Defined in src/config.ts:100

### attention

attention: Partial< FaceAttentionConfig >

- Defined in src/config.ts:96

### description

description: Partial< FaceDescriptionConfig >

- Defined in src/config.ts:98

### detector

detector: Partial< FaceDetectorConfig >

- Defined in src/config.ts:94

### emotion

emotion: Partial< FaceEmotionConfig >

- Defined in src/config.ts:99

### enabled

enabled: boolean

is module enabled?

Inherited from GenericConfig.enabled

- Defined in src/config.ts:15

### gear

gear: Partial< FaceGearConfig >

- Defined in src/config.ts:102

### iris

iris: Partial< FaceIrisConfig >

- Defined in src/config.ts:97

### liveness

liveness: Partial< FaceLivenessConfig >

- Defined in src/config.ts:101

### mesh

mesh: Partial< FaceMeshConfig >

- Defined in src/config.ts:95

### modelPath

modelPath: string

path to model json file (relative to `modelBasePath`

Inherited from GenericConfig.modelPath

- Defined in src/config.ts:17

### skipFrames

skipFrames: number

how many max frames to go without re-running model if cached results are acceptable for two-phase models such as face and hand caching applies to bounding boxes detection only

Inherited from GenericConfig.skipFrames

- Defined in src/config.ts:20

### skipTime

skipTime: number

how many max milliseconds to go without re-running model if cached results are acceptable for two-phase models such as face and hand caching applies to bounding boxes detection only

Inherited from GenericConfig.skipTime

- Defined in src/config.ts:23