|
makeup|SDK
makeup|SDK is a library based on visage|SDK face tracking used to configure and render virtual makeup.
|
#import <EyeToneAnalyzer.h>
Inherits NSObject.
Instance Methods | |
| (void) | - StartAnalysis: |
| (void) | - StopAnalysis |
| (void) | - Reset |
Provides eye tone estimation functionality over multiple frames. To enable this module pass the appropriate license to the SDKProvider.
| - (void) Reset |
Resets the internal state of the eye tone analyzer. This is useful when switching between frames of different people.
| - (void) StartAnalysis: | (void(^)(EyeToneResult *)) | callback |
Initiates the eye tone analysis. When a frame has been analyzed a call to the callback function is issued, with the analysis results passed as the argument.
| callback | Block callback which will be called every time new frame is analyzed. |
| - (void) StopAnalysis |
Stops the eye tone analysis and stops issuing calls to the callback given as argument to the StartAnalysis function.