doum
6 天以前 2b287056e2f59518888d05a1bbc7e5a55fbd84d5
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
package com.example.datalibrary.model;
 
public class BDQualityConfig {
    public BDQualityConfig(float blur , float illum , float gesture ,
                           float leftEye , float rightEye ,
                           float nose , float mouth , float leftCheek ,
                           float rightCheek , float chinContour){
        this.blur = blur;
        this.illum = illum;
        this.gesture = gesture;
        this.leftEye = leftEye;
        this.rightEye = rightEye;
        this.nose = nose;
        this.mouth = mouth;
        this.leftCheek = leftCheek;
        this.rightCheek = rightCheek;
        this.chinContour = chinContour;
    }
    // 模糊度设置,默认0.8。取值范围[0~1],0是最清晰,1是最模糊
    public float blur;
    // 光照设置,默认0.8.取值范围[0~1], 数值越大,光线越强
    public float illum;
    // 姿态阈值
    public float gesture;
    // 左眼被遮挡的阈值,默认0.8
    public float leftEye;
    // 右眼被遮挡的阈值,默认0.8
    public float rightEye;
    // 鼻子被遮挡的阈值,默认0.8
    public float nose;
    // 嘴巴被遮挡的阈值,默认0.8
    public float mouth;
    // 左脸颊被遮挡的阈值,默认0.8
    public float leftCheek;
    // 右脸颊被遮挡的阈值,默认0.8
    public float rightCheek;
    // 下巴被遮挡阈值,默认为0.8
    public float chinContour;
}