public class Pet extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| Pet() | 
| Pet(Pet source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| Rect | getLocation()Get 识别目标在图片中的坐标。 | 
| String | getName()Get 识别出的宠物类型(猫或者狗,暂不支持识别猫狗品种)。 | 
| Long | getScore()Get 识别服务给识别目标打出的置信度,范围在0-100之间。值越高,表示目标为相应结果的可能性越高。 | 
| void | setLocation(Rect Location)Set 识别目标在图片中的坐标。 | 
| void | setName(String Name)Set 识别出的宠物类型(猫或者狗,暂不支持识别猫狗品种)。 | 
| void | setScore(Long Score)Set 识别服务给识别目标打出的置信度,范围在0-100之间。值越高,表示目标为相应结果的可能性越高。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic Pet()
public Pet(Pet source)
public String getName()
public void setName(String Name)
Name - 识别出的宠物类型(猫或者狗,暂不支持识别猫狗品种)。public Long getScore()
public void setScore(Long Score)
Score - 识别服务给识别目标打出的置信度,范围在0-100之间。值越高,表示目标为相应结果的可能性越高。public Rect getLocation()
public void setLocation(Rect Location)
Location - 识别目标在图片中的坐标。Copyright © 2025. All rights reserved.