Options
All
  • Public
  • Public/Protected
  • All
Menu

Controlls and configures all body detection specific options

Parameters:

  • enabled: true/false
  • modelPath: body pose model, can be absolute path or relative to modelBasePath
  • minConfidence: threshold for discarding a prediction
  • maxDetected: maximum number of people detected in the input, should be set to the minimum number for performance
  • detector: optional body detector

maxDetected is valid for posenet and movenet-multipose as other models are single-pose only maxDetected can be set to -1 to auto-detect based on number of detected faces

Changing modelPath will change module responsible for hand detection and tracking Allowed values are posenet.json, blazepose.json, efficientpose.json, movenet-lightning.json, movenet-thunder.json, movenet-multipose.json

Hierarchy

  • BodyConfig

Index

Properties

Optional detector

detector?: { modelPath: string }

Type declaration

  • modelPath: string

enabled

enabled: boolean

maxDetected

maxDetected: number

minConfidence

minConfidence: number

modelPath

modelPath: string

skipFrames

skipFrames: number