|
makeup|SDK
makeup|SDK is a library based on visage|SDK face tracking used to configure and render virtual makeup.
|
Public Member Functions | |
| MakeUpEngine (Activity context, String licensePath, BSCProvider provider) | |
| void | AddObserver (IMakeUpObserver observer) |
| void | CreateMakeUp (FeatureTemplate featureTemplate, FinishTemplate finishTemplate, ArrayList< Float > boundingBox) |
| void | CreateMakeUp (FeatureTemplate featureTemplate, FinishTemplate finishTemplate) |
| void | DisplayMakeUp (Effect effect) |
| void | HideMakeUp (Effect effect) |
| void | ClearMakeUp () |
| void | RemoveMakeUp (Effect effect) |
| void | UpdateMakeUp (Effect effect) |
Public Member Functions inherited from com.visagetechnologies.makeupsdk.MakeupEngine | |
| MakeupEngine (Activity context, String licensePath, BSCProvider provider) | |
| void | AddObserver (IMakeupObserver observer) |
| void | CreateMakeup (FeatureTemplate featureTemplate, FinishTemplate finishTemplate, ArrayList< Float > boundingBox) |
| void | CreateMakeup (FeatureTemplate featureTemplate, FinishTemplate finishTemplate) |
| void | DisplayMakeup (Effect effect) |
| void | HideMakeup (Effect effect) |
| void | ClearMakeup () |
| void | RemoveMakeup (Effect effect) |
| void | UpdateMakeup (Effect effect) |
| void | Reset () |
| FeatureTemplateRepository | GetFeatures () |
| FinishTemplateRepository | getFinishes () |
| FinishTemplateRepository | GetFinishes () |
MakeupEngine class instead.This class is part of the SDK's core functionality.
It primarily serves two key functions:
Manipulating the current output of the view throught creating, displaying, updating, hiding, and removing makeup effects.
Exposure of FeatureTemplateRepository and FinishTemplateRepository deserialized from Feature.json and finishes.json files.
|
inline |
MakeupEngine class constructor instead.Constructor of the makeup engine
| context | The android activity in witch the SDK will render |
| licensePath | Path to the license |
| frameProvider | Instance of FrameProvider used to provide input frames to the SDK |
|
inline |
MakeupEngine.AddObserver(IMakeupObserver) method instead.Attaches observer to the engine. IMakeUpObserver is used to obtain event notifications from the engine.
| observer | Instance of IMakeUpObserver |
|
inline |
MakeupEngine.ClearMakeup() method instead.Destroys all created makeup effects.
|
inline |
MakeupEngine.CreateMakeup(FeatureTemplate, FinishTemplate) method instead.Creates makeup effect from given feature and finish templates. Returns the id of the created effect via IMakeupObserver interface.
| featureTemplate | FeatureTemplate object |
| finishTemplate | FinishTemplate object |
|
inline |
MakeupEngine.CreateMakeup(FeatureTemplate, FinishTemplate, ArrayList<Float>) method instead.Creates makeup effect from given feature and finish templates. Additionally, this function takes an array of floats specifying a bounding box in the following way:
| featureTemplate | FeatureTemplate object |
| finishTemplate | FinishTemplate object |
| boundingBox | Quuartet specifying bounding box in which this effect is visible |
|
inline |
MakeupEngine.DisplayMakeup(Effect) method instead.Displays given makeup effect.
| effect | makeup effect id |
|
inline |
MakeupEngine.HideMakeup(Effect) method instead.Hides given makeup effect.
| effect | makeup effect |
|
inline |
MakeupEngine.RemoveMakeup(Effect) method instead.Destroys given makeup effect.
| effect | makeup effect |
|
inline |
MakeupEngine.UpdateMakeup(Effect) method instead.Updates given makeup effect.
| effect | makeup effect |