Interface FaceEmotionConfig

Emotion part of face configuration

interface FaceEmotionConfig {
    enabled: boolean;
    minConfidence: number;
    modelPath: string;
    skipFrames: number;
    skipTime: number;
}

Hierarchy (view full)

Properties

enabled: boolean

is module enabled?

minConfidence: number

minimum confidence for a detected face before results are discarded

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