com.aiwiown.face.domain.detect.Threshold Maven / Gradle / Ivy
package com.aiwiown.face.domain.detect;
import com.aiwiown.face.ApiObject;
import com.aiwiown.face.internal.mapping.ApiField;
import java.math.BigDecimal;
/**
* 笑容分析结果
*/
public class Threshold extends ApiObject {
private static final long serialVersionUID = 511286142991154238L;
/**
* 值为一个 [0,100] 的浮点数,小数点后3位有效数字。数值越大表示笑程度高。
*/
@ApiField("value")
private BigDecimal value;
/**
* threshold:代表笑容的阈值,超过该阈值认为有笑容。
*/
@ApiField("threshold")
private BigDecimal threshold;
public BigDecimal getValue() {
return value;
}
public void setValue(BigDecimal value) {
this.value = value;
}
public BigDecimal getThreshold() {
return threshold;
}
public void setThreshold(BigDecimal threshold) {
this.threshold = threshold;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy