package bean;
import java.util.List;
/**
* @ClassName: FaceV3DetectBean
* @description: 百度AI人脸检测返回对象
* @author: 小帅丶
* @create: 2019-05-18
**/
public class FaceV3DetectBean {
private int error_code;
private String error_msg;
private long log_id;
private long timestamp;
private int cached;
private Result result;
public void setError_code(int error_code) {
this.error_code = error_code;
}
public int getError_code() {
return error_code;
}
public void setError_msg(String error_msg) {
this.error_msg = error_msg;
}
public String getError_msg() {
return error_msg;
}
public void setLog_id(long log_id) {
this.log_id = log_id;
}
public long getLog_id() {
return log_id;
}
public void setTimestamp(long timestamp) {
this.timestamp = timestamp;
}
public long getTimestamp() {
return timestamp;
}
public void setCached(int cached) {
this.cached = cached;
}
public int getCached() {
return cached;
}
public void setResult(Result result) {
this.result = result;
}
public Result getResult() {
return result;
}
/**
* Result
* @author 小帅丶
*
*/
public static class Result {
private int face_num;
private List<Face_list> face_list;
public void setFace_num(int face_num) {
this.face_num = face_num;
}
public int getFace_num() {
return face_num;
}
public void setFace_list(List<Face_list> face_list) {
this.face_list = face_list;
}
public List<Face_list> getFace_list() {
return face_list;
}
}
/**
* Face_list
* @author 小帅丶
*
*/
public static class Face_list {
private String face_token;
private Location location;
private int face_probability;
private Angle angle;
private int age;
private double beauty;
private Expression expression;
private Face_shape face_shape;
private Gender gender;
private Glasses glasses;
private List<Landmark> landmark;
private List<Landmark72> landmark72;
private Race race;
public void setFace_token(String face_token) {
this.face_token = face_token;
}
public String getFace_token() {
return face_token;
}
public void setLocation(Location location) {
this.location = location;
}
public Location getLocation() {
return location;
}
public void setFace_probability(int face_probability) {
this.face_probability = face_probability;
}
public int getFace_probability() {
return face_probability;
}
public void setAngle(Angle angle) {
this.angle = angle;
}
public Angle getAngle() {
return angle;
}
public void setAge(int age) {
this.age = age;
}
public int getAge() {
return age;
}
public void setBeauty(double beauty) {
this.beauty = beauty;
}
public double getBeauty() {
return beauty;
}
public void setExpression(Expression expression) {
this.expression = expression;
}
public Expression getExpression() {
return expression;
}
public void setFace_shape(Face_shape face_shape) {
this.face_shape = face_shape;
}
public Face_shape getFace_shape() {
return face_shape;
}
public void setGender(Gender gender) {
this.gender = gender;
}
public Gender getGender() {
return gender;
}
public void setGlasses(Glasses glasses) {
this.glasses = glasses;
}
public Glasses getGlasses() {
return glasses;
}
public void setLandmark(List<Landmark> landmark) {
this.landmark = landmark;
}
public List<Landmark> getLandmark() {
return landmark;
}
public void setLandmark72(List<Landmark72> landmark72) {
this.landmark72 = landmark72;
}
public List<Landmark72> getLandmark72() {
return landmark72;
}
public void setRace(Race race) {
this.race = race;
}
public Race getRace() {
return race;
}
}
/**
* Race
* @author 小帅丶
*
*/
public static class Race {
private String type;
private double probability;
public void setType(String type) {
this.type = type;
}
public String getType() {
return type;
}
public void setProbability(double probability) {
this.probability = probability;
}
public double getProbability() {
return probability;
}
}
/**
* Landmark72
* @author 小帅丶
*
*/
public static class Landmark72 {
private double x;
private double y;
public void setX(double x) {
this.x = x;
}
public double getX() {
return x;
}
public void setY(double y) {
this.y = y;
}
public double getY() {
return y;
}
}
/**
* Landmark
* @author 小帅丶
*
*/
public static class Landmark {
private double x;
private double y;
public void setX(double x) {
this.x = x;
}
public double getX() {
return x;
}
public void setY(double y) {
this.y = y;
}
public double getY() {
return y;
}
}
/**
* Glasses
* @author 小帅丶
*
*/
public static class Glasses {
private String type;
private double probability;
public void setType(String type) {
this.type = type;
}
public String getType() {
return type;
}
public void setProbability(double probability) {
this.probability = probability;
}
public double getProbability() {
return probability;
}
}
/**
* Gender
* @author 小帅丶
*
*/
public static class Gender {
private String type;
private double probability;
public void setType(String type) {
this.type = type;
}
public String getType() {
return type;
}
public void setProbability(double probability) {
this.probability = probability;
}
public double getProbability() {
return probability;
}
}
/**
* Face_shape
* @author 小帅丶
*
*/
public static class Face_shape {
private String type;
private double probability;
public void setType(String type) {
this.type = type;
}
public String getType() {
return type;
}
public void setProbability(double probability) {
this.probability = probability;
}
public double getProbability() {
return probability;
}
}
/**
* Expression
* @author 小帅丶
*
*/
public static class Expression {
private String type;
private double probability;
public void setType(String type) {
this.type = type;
}
public String getType() {
return type;
}
public void setProbability(double probability) {
this.proba
没有合适的资源?快使用搜索试试~ 我知道了~
使用OpenCV结合百度AI实现人脸融合
共11个文件
java:6个
license:1个
xml:1个
1 下载量 125 浏览量
2023-06-03
10:35:19
上传
评论
收藏 11.02MB ZIP 举报
温馨提示
使用OpenCV结合百度AI人脸检测(需要人脸72个关键点)实现人脸融合
资源推荐
资源详情
资源评论
收起资源包目录
FaceMerge-master.zip (11个子文件)
FaceMerge-master
pom.xml 784B
src
test
java
TestFaceMerge.java 476B
main
resources
file
opencv-320.jar 359KB
opencv_java320.dll 30.29MB
java
util
Correspondens.java 478B
FaceDetect.java 2KB
ImageUI.java 3KB
OpenCV_33_FaceSwap.java 8KB
bean
FaceV3DetectBean.java 10KB
LICENSE 1KB
faceMerge.iml 2KB
共 11 条
- 1
资源评论
Java程序员-张凯
- 粉丝: 1w+
- 资源: 6656
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功