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

com.aiwiown.face.domain.detect.FaceDetectFace Maven / Gradle / Ivy

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

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

public class FaceDetectFace extends ApiObject {

    private static final long serialVersionUID = 5531222272405307882L;
    /**
     * 人脸的标识
     */
    @ApiField("face_token")
    private String faceToken;

    /**
     * 人脸矩形框的位置
     */
    @ApiField("face_rectangle")
    private FaceRectangle faceRectangle;

    /**
     * 人脸的关键点坐标数组
     * 当传入的 landmark 参数值为 1 时,返回 83 个关键点坐标数组。
     * 当传入的 landmark 参数值为 2 时,返回 106 个关键点坐标数组。
     */
    @ApiField("landmark")
    private String landmark;

    /**
     * 人脸属性特征
     */
    @ApiField("attributes")
    private FaceAttributes attributes;

    public String getFaceToken() {
        return faceToken;
    }

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

    public FaceRectangle getFaceRectangle() {
        return faceRectangle;
    }

    public void setFaceRectangle(FaceRectangle faceRectangle) {
        this.faceRectangle = faceRectangle;
    }

    public String getLandmark() {
        return landmark;
    }

    public void setLandmark(String landmark) {
        this.landmark = landmark;
    }

    public FaceAttributes getAttributes() {
        return attributes;
    }

    public void setAttributes(FaceAttributes attributes) {
        this.attributes = attributes;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy