Skip to main content

Interface: MaskParams

@geenee/bodyprocessors.MaskParams

Parameters of MaskProcessor

Hierarchy

Properties

cache

Optional cache: boolean

Cache computational modules (experimental)

Inherited from

ProcParams.cache


masksm

Optional masksm: boolean

Evaluate segmentation mask with lower 128x128 resolution


root

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.

Inherited from

ProcParams.root


smooth

Optional smooth: boolean

Enable temporal smoothing of segmentation mask


token

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.

Inherited from

ProcParams.token