Options
All
  • Public
  • Public/Protected
  • All
Menu

Dectector part of face configuration

Hierarchy

Index

Properties

cropFactor

cropFactor: number

factor used to expand detected face before further analysis

  • default: 1.6
  • for high-quality inputs can be reduced to increase precision
  • for video inputs or low-quality inputs can be increased to allow for more flexible tracking

enabled

enabled: boolean

is module enabled?

iouThreshold

iouThreshold: number

minimum overlap between two detected faces before one is discarded

mask

mask: boolean

should child models perform on masked image of a face

maxDetected

maxDetected: number

maximum number of detected faces

minConfidence

minConfidence: number

minimum confidence for a detected face before results are discarded

modelPath

modelPath: string

path to model json file

return

return: boolean

should face detection return face tensor to be used in some other extenrnal model?

rotation

rotation: boolean

is face rotation correction performed after detecting face?

skipFrames

skipFrames: number

how many max frames to go without re-running model if cached results are acceptable

skipTime

skipTime: number

how many max miliseconds to go without re-running model if cached results are acceptable