|
makeup|SDK
makeup|SDK is a library based on visage|SDK face tracking used to configure and render virtual makeup.
|
makeup|SDK provides two APIs: Objective - C API for iOS and Java API for Android. Both APIs include following functionalities:
For makeup|SDK to be used contents of lib directory of the package must be copied to platform dependent folders used to locate binary dependencies.
The following sections provide an overview of the APIs and give links to most important classes, as well as to sample projects demonstrating particular functions.
The API provides function for manipulation of virtual makeup. Objective - C API is available for iOS only. The API is implemented in a single library:
Virtual makeup engine tracks face of a single user and controls rendering of virtual makeup to achieve AR functionality of virtual makeup. Virtual makeup is composed using template files storing description of used makeup feature and, optionally, a finish for selected feature. Virtual makeup rendering is demonstrated in MakeApp sample projects.
Provides color shade and monk scale obtained by estimating person's skin tone. Feature is demonstrated by SkinTone sample.
Provides facial data obtained using visage|SDK.
Main classes
Visage Technologies strives to minimize changes in API and configuration files when releasing new versions of the SDK. The inevitable changes are listed here together with specific instructions for developers who have existing applications built with older versions.
Changes in this release
This section covers changes introduced in current release since makeup|SDK 4.1.
Improved eyeliner rendering to blend naturally with eyelashes; higher intensity levels may be needed to achieve fuller color opacity.
Changes in older releases makeup|SDK 4.1
Parameter of SDKProvider.GetProvider method is changed to support multiple license types enabling makeup, shade finder, and/or face tracking features.
makeup|SDK 4.1 API class, protocol, and methods containing occurrences of “MakeUp” are deprecated and new API class, protocol, and methods containing proper name “Makeup” are introduced.
The makeup|SDK API is now fully compatible with Swift. The following classes had their instance variables withprotection level converted to properties: FilterParameterTemplate, FilterTemplate, FilterQueueTemplate, MaskTemplate, PipeTemplate, FinishTemplate, FinishTemplateRepository, Color, BoundingBox, ElementTemplate, FeatureTemplate, FeatureTemplateRepository, Element, and Effect. Please use "." operator to access members inplace of using "->" operator in objective C code.
"Image" type was renamed to "CamIL_Image". Previously used FrameProvider.AddFrame:(Image *) method was replaced by AddFrame: (FrameProvider) method.