makeup|SDK
makeup|SDK is a library based on visage|SDK face tracking used to configure and render virtual makeup.
Loading...
Searching...
No Matches
Instance Methods | List of all members
SkinToneAnalyzer Class Reference

#import <SkinToneAnalyzer.h>

Inherits NSObject.

Instance Methods

(void) - StartAnalysis:
 
(void) - StopAnalysis
 
(void) - Reset
 

Detailed Description

Provides skin tone estimation functionality over multiple frames. To enable this module pass the appropriate license to the SDKProvider.

Method Documentation

◆ Reset

- (void) Reset

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

◆ StartAnalysis:

- (void) StartAnalysis: (void(^)(SkinToneResult *))  callback

Initiates the skin tone analysis. When a frame has been analyzed a call to the block function is issued, with the analysis results passed as the argument.

Parameters
callbackA block function that will be called each time a frame is processed.

◆ StopAnalysis

- (void) StopAnalysis

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