BDConfigFileParser.h
1.65 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
//
// BDConfigFileParser.h
// JingRong_Safe_IDLFaceSDKDemoOC
//
// Created by Zhang,Jian(MBD) on 2021/9/27.
// Copyright © 2021 Baidu. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "BDFaceAdjustParams.h"
NS_ASSUME_NONNULL_BEGIN
@interface BDConfigFileParser : NSObject
/**
* 在线质量控制
*/
@property(nonatomic, assign) NSString *onlineImageQuality;
/**
* 在线活体控制
*/
@property(nonatomic, assign) NSString *onlineLivenessQuality;
/**
* 是否加密,都写死了。加密 (目前没有用到,都是加密)
*/
@property(nonatomic, assign) int secType;
/**
* 动作活体的时候,动作的数量
*/
@property(nonatomic, assign) int actionNum;
/**
* 5 炫彩活体,6 动作活体 7 静默活体,默认5 服务端,只会下发0 1 2
*/
@property(nonatomic, assign) int faceRecognizeType;
/**
* 风控阈值
*/
@property(nonatomic, assign) float riskScore;
/**
* 身份证获取方式 1 OCR扫描 0 手动输入 2代码传入
*/
@property(nonatomic, assign) int useOCR;
/**
* 用户选择的方案id
*/
@property(nonatomic, copy) NSString *planId;
/**
* 检测质量参数
*/
@property(nonatomic, copy) BDFaceAdjustParams *faceImageParams;
/**
* 设置离线活体检测阀值
*/
@property(nonatomic, assign) float faceVerifyActionThreshold;
/**
* 设置在线活体检测阀值
*/
@property(nonatomic, assign) float livenessVerifyThreadHold;
/**
* 动作Array
*/
@property(nonatomic, strong) NSArray *actionArray;
/**
* 获取单例
*/
+ (instancetype)sharedInstance;
/**
* 解析custom.conf文件,初始化预置的一些变量
*/
- (void)loadConfigFile;
@end
NS_ASSUME_NONNULL_END