public class ObjectInfo extends AbstractModel
Constructor and Description |
---|
ObjectInfo() |
ObjectInfo(ObjectInfo 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 |
---|---|
Box[] |
getAllBox()
Get 图像的所有主体区域,置信度,以及主体区域类别ID。
注意:此字段可能返回 null,表示取不到有效值。
|
Attribute[] |
getAttributes()
Get 属性信息。
|
Box |
getBox()
Get 图像主体区域。
|
Long |
getCategoryId()
Get 主体类别ID。
|
ColorInfo[] |
getColors()
Get 整张图颜色信息。
|
void |
setAllBox(Box[] AllBox)
Set 图像的所有主体区域,置信度,以及主体区域类别ID。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setAttributes(Attribute[] Attributes)
Set 属性信息。
|
void |
setBox(Box Box)
Set 图像主体区域。
|
void |
setCategoryId(Long CategoryId)
Set 主体类别ID。
|
void |
setColors(ColorInfo[] Colors)
Set 整张图颜色信息。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public ObjectInfo()
public ObjectInfo(ObjectInfo source)
public Box getBox()
public void setBox(Box Box)
Box
- 图像主体区域。public Long getCategoryId()
public void setCategoryId(Long CategoryId)
CategoryId
- 主体类别ID。public ColorInfo[] getColors()
public void setColors(ColorInfo[] Colors)
Colors
- 整张图颜色信息。public Attribute[] getAttributes()
public void setAttributes(Attribute[] Attributes)
Attributes
- 属性信息。public Box[] getAllBox()
public void setAllBox(Box[] AllBox)
AllBox
- 图像的所有主体区域,置信度,以及主体区域类别ID。
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2022. All rights reserved.