com.aiwiown.face.response.FaceDetailResponse Maven / Gradle / Ivy
package com.aiwiown.face.response;
import com.aiwiown.face.ApiResponse;
import com.aiwiown.face.domain.FaceSetInfo;
import com.aiwiown.face.domain.detect.FaceRectangle;
import com.aiwiown.face.internal.mapping.ApiField;
import com.aiwiown.face.internal.mapping.ApiListField;
import java.util.List;
/**
* @ClassName : FaceDetailResponse
* @Description :
* @Author : dbin0123
* @Date: 2020-03-15 15:38
*/
public class FaceDetailResponse extends ApiResponse {
private static final long serialVersionUID = 2895376628829555902L;
/**
* face_token所属图片在系统中的标识
*/
@ApiField("image_id")
private String imageId;
/**
* 用户自定义的标签,如果未提供则为空。
*/
@ApiField("user_id")
private String userId;
/**
* 人脸标识face_token
*/
@ApiField("face_token")
private String faceToken;
/**
* 人脸矩形框的位置
*/
@ApiField("face_rectangle")
private FaceRectangle faceRectangle;
/**
* 包含该face_token的FaceSet数组
*/
@ApiListField("facesets")
private List facesets;
public String getImageId() {
return imageId;
}
public void setImageId(String imageId) {
this.imageId = imageId;
}
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 FaceRectangle getFaceRectangle() {
return faceRectangle;
}
public void setFaceRectangle(FaceRectangle faceRectangle) {
this.faceRectangle = faceRectangle;
}
public List getFacesets() {
return facesets;
}
public void setFacesets(List facesets) {
this.facesets = facesets;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy