com.qcloud.cos.model.ciModel.ai.RecognizeLogoResponse Maven / Gradle / Ivy
package com.qcloud.cos.model.ciModel.ai;
import com.qcloud.cos.model.CosServiceResult;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamImplicit;
import java.util.List;
@XStreamAlias("RecognitionResult")
public class RecognizeLogoResponse extends CosServiceResult {
/**
*Logo识别结果,可能有多个
*/
@XStreamImplicit(itemFieldName = "LogoInfo")
private List logoInfo;
/**
*Logo识别结果。0表示未识别到,1表示识别到
*/
@XStreamAlias("Status")
private Integer status;
public List getLogoInfo() { return logoInfo; }
public void setLogoInfo(List logoInfo) { this.logoInfo = logoInfo; }
public Integer getStatus() { return status; }
public void setStatus(Integer status) { this.status = status; }
@XStreamAlias("LogoInfo")
public class LogoInfo {
/**
*Logo的名称
*/
@XStreamAlias("Name")
private String name;
/**
*Logo的置信度,取值范围为[0-100]。值越高概率越大。
*/
@XStreamAlias("Score")
private Integer score;
/**
*图中识别到Logo的坐标
*/
@XStreamImplicit(itemFieldName = "Location")
private List location;
public String getName() { return name; }
public void setName(String name) { this.name = name; }
public Integer getScore() { return score; }
public void setScore(Integer score) { this.score = score; }
public List getLocation() { return location; }
public void setLocation(List location) { this.location = location; }
}
@XStreamAlias("Location")
public class Location {
/**
*Logo坐标点(X坐标,Y坐标)
*/
@XStreamImplicit(itemFieldName = "Point")
private List point;
public List getPoint() { return point; }
public void setPoint(List point) { this.point = point; }
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy