Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface FaceConfig

Controlls and configures all face-specific options:

  • face detection, face mesh detection, age, gender, emotion detection and face description Parameters:
  • enabled: true/false
  • modelPath: path for each of face models
  • minConfidence: threshold for discarding a prediction
  • iouThreshold: ammount of overlap between two detected objects before one object is removed
  • maxDetected: maximum number of faces detected in the input, should be set to the minimum number for performance
  • rotation: use calculated rotated face image or just box with rotation as-is, false means higher performance, but incorrect mesh mapping on higher face angles
  • return: return extracted face as tensor for futher user processing, in which case user is reponsible for manually disposing the tensor

Hierarchy

  • FaceConfig

Index

Properties

description

description: { enabled: boolean; minConfidence: number; modelPath: string; skipFrames: number }

Type declaration

  • enabled: boolean
  • minConfidence: number
  • modelPath: string
  • skipFrames: number

detector

detector: { iouThreshold: number; maxDetected: number; minConfidence: number; modelPath: string; return: boolean; rotation: boolean; skipFrames: number }

Type declaration

  • iouThreshold: number
  • maxDetected: number
  • minConfidence: number
  • modelPath: string
  • return: boolean
  • rotation: boolean
  • skipFrames: number

emotion

emotion: { enabled: boolean; minConfidence: number; modelPath: string; skipFrames: number }

Type declaration

  • enabled: boolean
  • minConfidence: number
  • modelPath: string
  • skipFrames: number

enabled

enabled: boolean

iris

iris: { enabled: boolean; modelPath: string }

Type declaration

  • enabled: boolean
  • modelPath: string

mesh

mesh: { enabled: boolean; modelPath: string }

Type declaration

  • enabled: boolean
  • modelPath: string