Interface ObjectConfig

Configures all object detection specific options

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

Hierarchy (view full)

Properties

enabled: boolean

is module enabled?

iouThreshold: number

minimum overlap between two detected objects before one is discarded

maxDetected: number

maximum number of detected objects

minConfidence: number

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