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

Loading...
Searching...
No Matches
LightConditionsAnalyzer.h
1//
2// LightConditionsAnalyzerHTML.h
3// LightConditions
4//
5// Created by Visage on 19.09.2024.
6// Copyright © 2024 Visage Technologies AB. All rights reserved.
7//
8
9#ifndef LightConditionsAnalyzerHTML_h
10#define LightConditionsAnalyzerHTML_h
11#import "FaceTracker.h"
12
16@interface LightConditionsResult : NSObject
17
21 @property(nonatomic, readonly) bool isFaceUniformlyLit;
22
26 @property(nonatomic, readonly) float isFaceUniformlyLitProbability;
27
31 @property(nonatomic, readonly) bool hasNoBacklight;
32
36 @property(nonatomic, readonly) float hasNoBacklightProbability;
37
41 @property(nonatomic, readonly) long frameIndex;
42
43- (id)initWithIsFaceUniformlyLit:(bool)isFaceuniformlyLit andIsFaceUniformlyLitProbability:(float)isFaceUniformlyLitProbability andHasNoBacklight:(bool)hasNoBacklight andHasNoBacklightProbability:(float)hasNoBacklightProbability andFrameIndex :(long)frameIndex;
44@end
45
49@interface LightConditionsAnalyzer : NSObject
50{
51}
52
58- (void) StartAnalysis:(void(^)(LightConditionsResult *))callback;
59
63- (void) StopAnalysis;
64
68- (void) Reset;
69
70- (id)initWithLightConditionsModule:(void*) lightConditionsModule;
71
72@end
73
74#endif
LightConditionsAnalyzer
Definition LightConditionsAnalyzer.h:50
LightConditionsResult
Object representing the result retrieved from the light conditions analyzer.
Definition LightConditionsAnalyzer.h:17
LightConditionsResult::isFaceUniformlyLit
bool isFaceUniformlyLit
Definition LightConditionsAnalyzer.h:21
LightConditionsResult::isFaceUniformlyLitProbability
float isFaceUniformlyLitProbability
Definition LightConditionsAnalyzer.h:26
LightConditionsResult::hasNoBacklight
bool hasNoBacklight
Definition LightConditionsAnalyzer.h:31
LightConditionsResult::frameIndex
long frameIndex
Definition LightConditionsAnalyzer.h:41
LightConditionsResult::hasNoBacklightProbability
float hasNoBacklightProbability
Definition LightConditionsAnalyzer.h:36