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