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

Loading...
Searching...
No Matches
FaceShapeAnalyzer.h
1//
2// SkinToneAnalyzerHTML.h
3// SkinTone
4//
5// Created by Visage on 18.07.2023..
6// Copyright © 2023 Visage Technologies AB. All rights reserved.
7//
8
9#ifndef FaceShapeAnalyzerHTML_h
10#define FaceShapeAnalyzerHTML_h
11#import "FaceTracker.h"
12
13@interface FaceShapeEstimates : NSObject
14 @property(nonatomic, readonly) float Heart;
15
16 @property(nonatomic, readonly) float Oblong;
17
18 @property(nonatomic, readonly) float Oval;
19
20 @property(nonatomic, readonly) float Round;
21
22 @property(nonatomic, readonly) float Square;
23
24-(id) initWithHeart:(float) heart andOblong:(float) oblong andOval:(float) oval andRound:(float) round andSquare:(float) square;
25@end
26
27@interface FaceShapeResult : NSObject
31 @property(nonatomic, readonly) FaceShapeEstimates* estimates;
32
36 @property(nonatomic, readonly) long frameIndex;
37
38-(id) initWithEstimates:(FaceShapeEstimates*) estimates andFrameIndex:(long) frameIndex;
39@end
40
41
45@interface FaceShapeAnalyzer : NSObject
46{}
47
53- (void) StartAnalysis:(void(^)(FaceShapeResult *))callback;
54
58- (void) StopAnalysis;
59
63- (void) Reset;
64
65- (id)initWithFaceShapeModule:(void*) faceShapeModule;
66
67@end
68
69#endif
FaceShapeAnalyzer
Definition FaceShapeAnalyzer.h:46