BDFaceImageResult.h
975 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//
// BDFaceImageResult.h
// FaceSDKSample_IOS
//
// Created by 孙明喆 on 2020/4/1.
// Copyright © 2020 Baidu. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <AVKit/AVKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface BDFaceImageResult : NSObject
@property (nonatomic, readwrite) UIImage *successImage;
@property (nonatomic,assign) float silentliveScore;
@property (nonatomic,assign) float colorliveScore;
@property (nonatomic,assign) float colorMatchNum;
@property (nonatomic,copy) NSString * auraLiveColorStr;
+ (instancetype)sharedInstance;
- (void)setSuccessImage:(UIImage *)image;
- (void)setSilentliveScore:(float)score;
- (void)setColorliveScore:(float)score;
- (void)setColorMatchNum:(int)num;
- (void)setAuraLiveColor:(NSString *)string;
- (UIImage *)getSuccessImage;
- (float)getSilentliveScore;
- (float)getColorliveScore;
- (int)getColorMatchNum;
- (NSString *)getAuraLiveColor;
- (void) reset;
@end
NS_ASSUME_NONNULL_END