|
makeup|SDK
makeup|SDK is a library based on visage|SDK face tracking used to configure and render virtual makeup.
|
Public Member Functions | |
| void | SetSkinToneTargetQuality (SkinToneTargetQuality skinToneTargetQuality) |
| void | SetLightConditionsUniformityThreshold (float uniformityThreshold) |
| void | SetLightConditionsBacklightThreshold (float backlightThreshold) |
| MakeUpEngine | CreateMakeUpEngine (Activity context) |
| MakeUpEngine | CreateMakeUpEngine () throws Exception |
| SkinToneAnalyzer | CreateSkinToneAnalyzer (Activity context) |
| MakeupEngine | CreateMakeupEngine () throws Exception |
| SkinToneAnalyzer | CreateSkinToneAnalyzer () throws Exception |
| LightConditionsAnalyzer | CreateLightConditionsAnalyzer () throws Exception |
| FaceTracker | CreateFaceTracker () throws Exception |
| FrameProvider | GetFrameProvider () throws Exception |
| FaceShapeAnalyzer | CreateFaceShapeAnalyzer () throws Exception |
| EyeShapeAnalyzer | CreateEyeShapeAnalyzer () throws Exception |
| HairToneAnalyzer | CreateHairToneAnalyzer () throws Exception |
| EyeToneAnalyzer | CreateEyeToneAnalyzer () throws Exception |
Static Public Member Functions | |
| static SDKProvider | GetProvider (Map< LicenseTypeEnum, String > licenses) |
| static SDKProvider | GetProvider (Map< LicenseTypeEnum, String > licenses, Activity context) |
| static SDKProvider | GetProvider (Map< LicenseTypeEnum, String > licenses, Activity context, TrackingQuality trackingQuality) |
| static SDKProvider | GetProvider (String licensePath) |
Provides all makeup|SDK modules.
|
inline |
Gets or creates a EyeShapeAnalyzer singleton instance.
| throws | exception if invoked before providing context to SDKProvider using call to GetProvider method. |
|
inline |
Gets or creates a EyeToneAnalyzer singleton instance.
| throws | exception if invoked before providing context to SDKProvider using call to GetProvider method. |
|
inline |
Gets or creates a FaceShapeAnalyzer singleton instance.
| throws | exception if invoked before providing context to SDKProvider using call to GetProvider method. |
|
inline |
Gets or creates a FaceTracker singleton instance.
| throws | exception if invoked before providing context to SDKProvider using call to GetProvider method. |
|
inline |
Gets or creates a HairToneAnalyzer singleton instance.
| throws | exception if invoked before providing context to SDKProvider using call to GetProvider method. |
|
inline |
Gets or creates a LightConditionsAnalyzer singleton instance.
| throws | exception if invoked before providing context to SDKProvider using call to GetProvider method. |
|
inline |
CreateMakeupEngine() method instead.Gets or creates a MakeUpEngine singleton instance.
| throws | exception if invoked before providing context to SDKProvider using call to GetProvider method. |
|
inline |
Gets or creates a MakeupEngine singleton instance.
| throws | exception if invoked before providing context to SDKProvider using call to GetProvider method. |
|
inline |
CreateMakeupEngine() method instead.Creates a new instance of the MakeupEngine class.
| context | The android activity in witch the SDK will render. |
|
inline |
Gets or creates a SkinToneAnalyzer singleton instance.
| throws | exception if invoked before providing context to SDKProvider using call to GetProvider method. |
|
inline |
CreateSkinToneAnalyzer() method instead.Creates a new instance of the skin tone analyzer.
| context | The android activity in witch the SDK will render. |
|
inline |
Gets the FrameProvider instance. Use this to pass frames to the makeup engine, skin tone analyzer or face tracker.
| throws | exception if invoked before providing context to SDKProvider using call to GetProvider method. |
|
inlinestatic |
DEPRECATED Gets or creates a SDKProvider singleton instance.
| licenses | Map between LicenseTypeEnum key and String value where key is one of SKINTONE or MAKEUP and value is path to appropriate license for type defined by key. |
|
inlinestatic |
Gets or creates a SDKProvider singleton instance.
| licenses | Map between LicenseTypeEnum key and String value where key is MAKEUP, SKINTONE or FACETRACK enum and corresponding value is appropriate license file path. |
| context | The android activity in witch the SDK will render.* |
|
inlinestatic |
Gets or creates a SDKProvider singleton instance.
| licenses | Map between LicenseTypeEnum key and String value where key is MAKEUP, SKINTONE or FACETRACK enum and corresponding value is appropriate license file path. |
| context | The android activity in witch the SDK will render.* |
| trackingQuality | Sets the quality of internal face tracker used by the SDK. |
|
inlinestatic |
DEPRECATED Gets or creates a SDKProvider singleton instance.
| licensePath | path to makeup sdk license |
|
inline |
Configures Light Conditions Analysis backlight threshold. Must be set before LightConditionsAnalyzer is created or it will have no effect. This value should be between 0 and 1. Lower threshold value means more images will satisfy the test and be classified as images without the backlight.
| {float} | uniformityThreshold |
|
inline |
Configures Light Conditions Analysis uniformity (of the face lighting) threshold. Must be set before LightConditionsAnalyzer is created or it will have no effect. This value should be between 0 and 1. Lower threshold value means more images will satisfy the test and be classified as uniformly lit.
| {float} | uniformityThreshold |
|
inline |
Configures skin tone quality. Must be set before SkinToneAnalyzer is created or it will have no effect.
MORE_SPEED: 0(default)
MORE_ACCURACY: 1
| {SkinToneTargetQuality} | skinToneTargetQuality |