Interface BodyConfig

Configures all body detection specific options

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

Hierarchy (view full)

Properties

enabled: boolean

is module enabled?

maxDetected: number

maximum number of detected bodies

minConfidence: number

minimum confidence for a detected body 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