All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aiwiown.face.domain.search.FaceSearchResout Maven / Gradle / Ivy

There is a newer version: 3.0.9
Show newest version
package com.aiwiown.face.domain.search;

import com.aiwiown.face.ApiObject;
import com.aiwiown.face.internal.mapping.ApiField;

import java.math.BigDecimal;

/**
 * @ClassName : FaceSearchResout
 * @Description :
 * @Author : dbin0123
 * @Date: 2020-03-14 20:02
 */
public class FaceSearchResout extends ApiObject {
    private static final long serialVersionUID = 5839671368330616974L;

    /**
     * 用户提供的人脸标识,如果未提供则为空。
     */
    @ApiField("user_id")
    private String userId;
    /**
     * 从 FaceSet 中搜索出的一个人脸标识 face_token。
     */
    @ApiField("face_token")
    private String faceToken;
    /**
     * 比对结果置信度,范围 [0,100],小数点后3位有效数字,数字越大表示两个人脸越可能是同一个人。
     */
    @ApiField("confidence")
    private BigDecimal confidence;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getFaceToken() {
        return faceToken;
    }

    public void setFaceToken(String faceToken) {
        this.faceToken = faceToken;
    }

    public BigDecimal getConfidence() {
        return confidence;
    }

    public void setConfidence(BigDecimal confidence) {
        this.confidence = confidence;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy