Class: LightConditionsAnalyzer

LightConditionsAnalyzer()

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

Constructor

new LightConditionsAnalyzer()

Source:

Classes

LightConditionsAnalyzer

Methods

Reset()

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

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:

StopAnalysis()

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