Skip to content

PoseParams

Parameters of PoseProcessor

optional cache: boolean

Cache computational modules (experimental)

ProcParams.cache


optional mask: MaskParam

Evaluate body segmentation mask

Segmentation mask is a monochrome image having the same size as input, where every pixel has value from 0 to 1 denoting the probability of it being a foreground pixel.


optional rateRoI: (roi, ratio) => number

Rate body detection

Method evaluating measure of priority for body detection. Detections with higher rates will be considered first for further tracking. For example, this method may guide selection of tracking targets to prioritize bigger or cenetred detections, downweight score according to some rulles. Default implementation forwards score as rate. Targets with rate <= 0.0 will be completely ignored.

BodyCircle

Body detection

number

Image aspect ratio

number

Priority rate of the detection


optional root: string

Root path to computational modules (statically served wasms). The SDK requires access to wasm modules provided within its packages. By default, the root path is the current url ”./”. Root can be set on Engine#init | Engine initialization.

ProcParams.root


token: string

The SDK access token. Mandatory parameter authenticating your user account and providing access to the SDK on the current url. You can create tokens for required urls on your account page. Token must be provided to initialize Engine#init | Engine. More.

ProcParams.token