Interface FaceAntiSpoofConfig

Anti-spoofing part of face configuration

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

Hierarchy (view full)

Properties

enabled: boolean

is module enabled?

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