makeup|SDK makeup|SDK is a library based on visage|SDK face tracking used to configure and render virtual makeup.

Loading...
Searching...
No Matches
SDKProvider.h
1#import "MakeupEngine.h"
2#import "SkinToneAnalyzer.h"
3#import "FaceShapeAnalyzer.h"
4#import "EyeShapeAnalyzer.h"
5#import "LightConditionsAnalyzer.h"
6#import "EyeToneAnalyzer.h"
7#import "HairToneAnalyzer.h"
8#import "FrameProvider.h"
9
14 extern NSString* const MAKEUP_LICENSE_KEY;
15
20 extern NSString* const SKINTONE_LICENSE_KEY;
21
26 extern NSString* const FACETRACK_LICENSE_KEY;
27
28 typedef NS_ENUM(NSUInteger, SkinToneTargetQuality) { MORE_SPEED, MORE_ACCURACY };
29
30 typedef NS_ENUM(NSInteger, TrackingQuality) { TRACKING_QUALITY_HIGH, TRACKING_QUALITY_LOW };
31
35@interface SDKProvider : NSObject {
36 SkinToneTargetQuality skin_tone_target_quality;
37}
38
45+ (SDKProvider *)GetProvider:(NSDictionary*) licenses;
46
54+ (SDKProvider *)GetProvider:(NSDictionary *)licenses trackingQuality:(TrackingQuality)trackingQuality;
55
56
61- (FrameProvider *)GetFrameProvider;
62
63
69- (FaceTracker *) CreateFaceTracker;
70
78- (MakeUpEngine *)CreateMakeUpEngine __attribute__((deprecated("Please use CreateMakeupEngine instead.")));
79
85- (MakeupEngine *)CreateMakeupEngine;
86
92- (SkinToneAnalyzer *)CreateSkinToneAnalyzer;
93
94- (FaceShapeAnalyzer *)CreateFaceShapeAnalyzer;
95
96- (EyeShapeAnalyzer *)CreateEyeShapeAnalyzer;
97
98
104- (LightConditionsAnalyzer *)CreateLightConditionsAnalyzer;
105
111- (EyeToneAnalyzer *)CreateEyeToneAnalyzer;
112
118- (HairToneAnalyzer *)CreateHairToneAnalyzer;
119
120
121- (void) SetSkinToneTargetQuality:(SkinToneTargetQuality) quality;
122
123@end
EyeShapeAnalyzer
Definition EyeShapeAnalyzer.h:44
EyeToneAnalyzer
Definition EyeToneAnalyzer.h:33
FaceShapeAnalyzer
Definition FaceShapeAnalyzer.h:46
FaceTracker
Definition FaceTracker.h:16
FrameProvider
Definition FrameProvider.h:19
HairToneAnalyzer
Definition HairToneAnalyzer.h:34
LightConditionsAnalyzer
Definition LightConditionsAnalyzer.h:50
MakeUpEngine
Definition MakeupEngine.h:195
MakeupEngine
Definition MakeupEngine.h:47
SDKProvider
Definition SDKProvider.h:35
SkinToneAnalyzer
Definition SkinToneAnalyzer.h:74