Class: SkinToneAnalyzer

SkinToneAnalyzer()

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

Constructor

new SkinToneAnalyzer()

Source:

Classes

SkinToneAnalyzer

Methods

Reset()

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

StartAnalysis(SkinToneCallback)

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:
Name Type Description
SkinToneCallback SkinToneCallback callback which will be called every time a new frame is analyzed
Source:

StopAnalysis()

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