com.aiwiown.face.response.FaceDetectResponse Maven / Gradle / Ivy
package com.aiwiown.face.response;
import com.aiwiown.face.ApiResponse;
import com.aiwiown.face.domain.detect.FaceDetectFace;
import com.aiwiown.face.internal.mapping.ApiField;
import com.aiwiown.face.internal.mapping.ApiListField;
import java.util.List;
/**
* @ClassName : FaceDetectResponse
* @Description :
* @Author : dbin0123
* @Date: 2020-03-14 16:17
*/
public class FaceDetectResponse extends ApiResponse {
private static final long serialVersionUID = -2054394041813840516L;
/**
* 被检测的图片在系统中的标识。
*/
@ApiField("image_id")
private String imageId;
/**
* 检测出的人脸个数
*/
@ApiField("face_num")
private Integer faceNum;
/**
* 被检测出的人脸数组,具体包含内容见下文。
* 注:如果没有检测出人脸则为空数组
*/
@ApiListField("faces")
private List faces;
public String getImageId() {
return imageId;
}
public void setImageId(String imageId) {
this.imageId = imageId;
}
public Integer getFaceNum() {
return faceNum;
}
public void setFaceNum(Integer faceNum) {
this.faceNum = faceNum;
}
public List getFaces() {
return faces;
}
public void setFaces(List faces) {
this.faces = faces;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy