# 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:
  - SkinToneAnalyzer.js, line 11

### Classes

SkinToneAnalyzer

### Methods

#### Reset()

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

Source:
  - SkinToneAnalyzer.js, line 220

#### 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:
  - SkinToneAnalyzer.js, line 163

#### StopAnalysis()

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

Source:
  - SkinToneAnalyzer.js, line 213