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.HairToneAnalyzer Class Reference

Inherits Runnable.

Public Member Functions

void StartAnalysis (HairToneCallback callback)
 
void StopAnalysis ()
 
void Reset ()
 

Detailed Description

Provides hair 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.HairToneAnalyzer.Reset ( )
inline

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

◆ StartAnalysis()

void com.visagetechnologies.makeupsdk.HairToneAnalyzer.StartAnalysis ( HairToneCallback  callback)
inline

Initiates the hair tone analysis. When a frame has been analyzed a call to the HairToneCallback 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.HairToneAnalyzer.StopAnalysis ( )
inline

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