Interface: FaceParams
@geenee/bodyprocessors.FaceParams
Parameters of FaceProcessor
Hierarchy
ProcParams
↳
FaceParams
Properties
backproj
• Optional
backproj: boolean
cache
• Optional
cache: boolean
Cache computational modules (experimental)
Inherited from
ProcParams.cache
highp
• Optional
highp: boolean
Evaluate with higher precision for lips, eyes and irises. When enabled computation is slower, but contours of lips are much more accurate and eye/iris detection is enabled.
metric
• Optional
metric: boolean
Evaluate metric 3D points - points within 3D space of perspective camera located at the space origin and pointed in the negative direction of the Z-axis. These points can be used to apply texture face mask.
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
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
transform
• Optional
transform: boolean
Evaluate transformation aligning reference face 3D model with the measured one. Applying this transformation one can align 3D object with the current pose (translation+rotation) of the head. If the model's initial position is aligned with the reference face, relative transformation will be preserved