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
package com.example.datalibrary.manager;
 
import com.example.datalibrary.model.User;
 
/**
 * 人脸识别结果
 */
public class IdentifyResult {
    public User user;  // 识别的用户信息
    public int index; // 识别的用户索引
    public float score; // 识别的分值
    public IdentifyResult() {
        this.user = new User();
        this.index = -1;
        this.score = -1;
    }
 
    public IdentifyResult(User user, int index, float score) {
        this.user = user;
        this.index = index;
        this.score = score;
    }
}