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

Hierarchy

Properties

antispoof: Partial<FaceAntiSpoofConfig>
attention: Partial<FaceAttentionConfig>
description: Partial<FaceDescriptionConfig>
detector: Partial<FaceDetectorConfig>
emotion: Partial<FaceEmotionConfig>
enabled: boolean

is module enabled?

gear: Partial<FaceGearConfig>
iris: Partial<FaceIrisConfig>
liveness: Partial<FaceLivenessConfig>
mesh: Partial<FaceMeshConfig>
modelPath: string

path to model json file (relative to modelBasePath

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

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