PoseParams
Parameters of PoseProcessor
Extends
Section titled “Extends”Properties
Section titled “Properties”cache?
Section titled “cache?”
optionalcache:boolean
Cache computational modules (experimental)
Inherited from
Section titled “Inherited from”
optionalmask: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.
rateRoI()?
Section titled “rateRoI()?”
optionalrateRoI: (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.
Parameters
Section titled “Parameters”Body detection
number
Image aspect ratio
Returns
Section titled “Returns”number
Priority rate of the detection
optionalroot: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.
Inherited from
Section titled “Inherited from”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.