weimingfei
8 天以前 4e4017b2e55c70c32bd725fc9c9bda335ddc59f6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.example.datalibrary.model;
 
public class BDLiveConfig {
    public BDLiveConfig(float rgbLiveScore , float nirLiveScore , float depthLiveScore){
        this.rgbLiveScore = rgbLiveScore;
        this.nirLiveScore = nirLiveScore;
        this.depthLiveScore = depthLiveScore;
    }
    public BDLiveConfig(float rgbLiveScore , float nirLiveScore , float depthLiveScore , int framesThreshold){
        this.rgbLiveScore = rgbLiveScore;
        this.nirLiveScore = nirLiveScore;
        this.depthLiveScore = depthLiveScore;
        this.framesThreshold = framesThreshold;
    }
    public float rgbLiveScore; // rgb活体阈值
    public float nirLiveScore; // nir活体阈值
    public float depthLiveScore; // depth活体阈值
    public int framesThreshold = 1; // 识别帧数
}