# Class: LightConditionsAnalyzer

## LightConditionsAnalyzer()

Provides light conditions estimation functionality. To enable this module pass the ShadeFinder license to the SDKProvider.

## Constructor

#### new LightConditionsAnalyzer()

Source:
  - LightConditionsAnalyzer.js, line 8

### Classes

LightConditionsAnalyzer

### Methods

#### Reset()

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

Source:
  - LightConditionsAnalyzer.js, line 70

#### StartAnalysis(LightConditionsCallback)

Initiates the light conditions analysis. When a frame has been analyzed a call to the LightConditionsCallback function is issued, with the analysis results passed as the argument.

##### Parameters:

Name | Type | Description
--- | --- | ---
`LightConditionsCallback` | LightConditionsCallback | callback which will be called every time a new frame is analyzed

Source:
  - LightConditionsAnalyzer.js, line 53

#### StopAnalysis()

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

Source:
  - LightConditionsAnalyzer.js, line 63