doum
6 天以前 2b287056e2f59518888d05a1bbc7e5a55fbd84d5
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; // 识别帧数
}