makeup|SDK
makeup|SDK is a library based on visage|SDK face tracking used to configure and render virtual makeup.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
com.visagetechnologies.makeupsdk.SkinToneAnalyzer Class Reference

Inherits Runnable.

Public Member Functions

void StartAnalysis (SkinToneCallback callback)
 
void StopAnalysis ()
 
void Reset ()
 

Detailed Description

Provides skin tone estimation functionality over multiple frames. To enable this module pass the appropriate license to the SDKProvider.

Member Function Documentation

◆ Reset()

void com.visagetechnologies.makeupsdk.SkinToneAnalyzer.Reset ( )
inline

Resets the internal state of the skin tone analyzer. This is useful when switching between frames of different people.

◆ StartAnalysis()

void com.visagetechnologies.makeupsdk.SkinToneAnalyzer.StartAnalysis ( SkinToneCallback  callback)
inline

Initiates the skin tone analysis. When a frame has been analyzed a call to the SkinToneCallback function is issued, with the analysis results passed as the argument.

Parameters
callbackObject having done callback method which will be called every time new frame is analized.

◆ StopAnalysis()

void com.visagetechnologies.makeupsdk.SkinToneAnalyzer.StopAnalysis ( )
inline

Stops the skin tone analysis and stops issuing calls to the callback given as a argument to the StartAnalysis function.