Constructor
new SDKProvider(modulesManager, frameProvider, sdkAnalytics)
Parameters:
| Name | Type | Description |
|---|---|---|
modulesManager |
* | |
frameProvider |
FrameProvider | |
sdkAnalytics |
SdkAnalytics | null |
- Source:
Members
cmsMakeupEngine :CmsMakeupEngine|undefined
Type:
- CmsMakeupEngine | undefined
- Source:
makeupEngine :MakeupEngine|undefined
Type:
- MakeupEngine | undefined
- Source:
Methods
GetFrameProvider()
Gets the FrameProvider instance.
Use this to pass frames to the makeup engine, skin tone analyzer or face tracker.
- Source:
Returns:
FrameProvider instance.
GetSessionUUID() → {string}
Gets the session uuid used by the Analytics API.
- Source:
Returns:
session uuid.
- Type
- string
SetLightConditionsBacklightThreshold(backlightThreshold)
Configures face uniformity threshold. Must be set before LightConditionsAnalyzer
is created or it will have no effect.
Parameters:
| Name | Type | Description |
|---|---|---|
backlightThreshold |
number |
- Source:
SetLightConditionsUniformityThreshold(uniformityThreshold)
Configures face uniformity threshold. Must be set before LightConditionsAnalyzer
is created or it will have no effect.
Parameters:
| Name | Type | Description |
|---|---|---|
uniformityThreshold |
number |
- Source:
SetSkinToneTargetQuality(skinToneTargetQuality)
Configures skin tone quality. Must be set before SkinToneAnalyzer.
is created or it will have no effect
MORE_SPEED: 0(default)
MORE_ACCURACY: 1
Parameters:
| Name | Type | Description |
|---|---|---|
skinToneTargetQuality |
SkinToneTargetQuality |
- Source: