Class OcrLabelInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tione.v20211111.models.OcrLabelInfo
-
public class OcrLabelInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description OcrLabelInfo()OcrLabelInfo(OcrLabelInfo 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDirection()Get key或者value区域内容的方向: DIRECTION_VERTICAL DIRECTION_HORIZONTAL 注意:此字段可能返回 null,表示取不到有效值。StringgetFrameType()Get 框的形状: FRAME_TYPE_RECTANGLE FRAME_TYPE_POLYGON 注意:此字段可能返回 null,表示取不到有效值。StringgetKey()Get 智能结构化:key区域对应的内容 注意:此字段可能返回 null,表示取不到有效值。StringgetKeyId()Get 智能结构化:上述key的ID 注意:此字段可能返回 null,表示取不到有效值。String[]getKeyIdsForValue()Get 智能结构化:value区域所关联的key 区域的keyID的集合 注意:此字段可能返回 null,表示取不到有效值。PointInfo[]getPoints()Get 坐标点围起来的框 注意:此字段可能返回 null,表示取不到有效值。StringgetValue()Get 识别:框区域的内容 智能结构化:value区域对应的内容 注意:此字段可能返回 null,表示取不到有效值。voidsetDirection(String Direction)Set key或者value区域内容的方向: DIRECTION_VERTICAL DIRECTION_HORIZONTAL 注意:此字段可能返回 null,表示取不到有效值。voidsetFrameType(String FrameType)Set 框的形状: FRAME_TYPE_RECTANGLE FRAME_TYPE_POLYGON 注意:此字段可能返回 null,表示取不到有效值。voidsetKey(String Key)Set 智能结构化:key区域对应的内容 注意:此字段可能返回 null,表示取不到有效值。voidsetKeyId(String KeyId)Set 智能结构化:上述key的ID 注意:此字段可能返回 null,表示取不到有效值。voidsetKeyIdsForValue(String[] KeyIdsForValue)Set 智能结构化:value区域所关联的key 区域的keyID的集合 注意:此字段可能返回 null,表示取不到有效值。voidsetPoints(PointInfo[] Points)Set 坐标点围起来的框 注意:此字段可能返回 null,表示取不到有效值。voidsetValue(String Value)Set 识别:框区域的内容 智能结构化:value区域对应的内容 注意:此字段可能返回 null,表示取不到有效值。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
OcrLabelInfo
public OcrLabelInfo()
-
OcrLabelInfo
public OcrLabelInfo(OcrLabelInfo 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.
-
-
Method Detail
-
getPoints
public PointInfo[] getPoints()
Get 坐标点围起来的框 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Points 坐标点围起来的框 注意:此字段可能返回 null,表示取不到有效值。
-
setPoints
public void setPoints(PointInfo[] Points)
Set 坐标点围起来的框 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Points- 坐标点围起来的框 注意:此字段可能返回 null,表示取不到有效值。
-
getFrameType
public String getFrameType()
Get 框的形状: FRAME_TYPE_RECTANGLE FRAME_TYPE_POLYGON 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- FrameType 框的形状: FRAME_TYPE_RECTANGLE FRAME_TYPE_POLYGON 注意:此字段可能返回 null,表示取不到有效值。
-
setFrameType
public void setFrameType(String FrameType)
Set 框的形状: FRAME_TYPE_RECTANGLE FRAME_TYPE_POLYGON 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
FrameType- 框的形状: FRAME_TYPE_RECTANGLE FRAME_TYPE_POLYGON 注意:此字段可能返回 null,表示取不到有效值。
-
getKey
public String getKey()
Get 智能结构化:key区域对应的内容 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Key 智能结构化:key区域对应的内容 注意:此字段可能返回 null,表示取不到有效值。
-
setKey
public void setKey(String Key)
Set 智能结构化:key区域对应的内容 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Key- 智能结构化:key区域对应的内容 注意:此字段可能返回 null,表示取不到有效值。
-
getKeyId
public String getKeyId()
Get 智能结构化:上述key的ID 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- KeyId 智能结构化:上述key的ID 注意:此字段可能返回 null,表示取不到有效值。
-
setKeyId
public void setKeyId(String KeyId)
Set 智能结构化:上述key的ID 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
KeyId- 智能结构化:上述key的ID 注意:此字段可能返回 null,表示取不到有效值。
-
getValue
public String getValue()
Get 识别:框区域的内容 智能结构化:value区域对应的内容 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Value 识别:框区域的内容 智能结构化:value区域对应的内容 注意:此字段可能返回 null,表示取不到有效值。
-
setValue
public void setValue(String Value)
Set 识别:框区域的内容 智能结构化:value区域对应的内容 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Value- 识别:框区域的内容 智能结构化:value区域对应的内容 注意:此字段可能返回 null,表示取不到有效值。
-
getKeyIdsForValue
public String[] getKeyIdsForValue()
Get 智能结构化:value区域所关联的key 区域的keyID的集合 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- KeyIdsForValue 智能结构化:value区域所关联的key 区域的keyID的集合 注意:此字段可能返回 null,表示取不到有效值。
-
setKeyIdsForValue
public void setKeyIdsForValue(String[] KeyIdsForValue)
Set 智能结构化:value区域所关联的key 区域的keyID的集合 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
KeyIdsForValue- 智能结构化:value区域所关联的key 区域的keyID的集合 注意:此字段可能返回 null,表示取不到有效值。
-
getDirection
public String getDirection()
Get key或者value区域内容的方向: DIRECTION_VERTICAL DIRECTION_HORIZONTAL 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Direction key或者value区域内容的方向: DIRECTION_VERTICAL DIRECTION_HORIZONTAL 注意:此字段可能返回 null,表示取不到有效值。
-
setDirection
public void setDirection(String Direction)
Set key或者value区域内容的方向: DIRECTION_VERTICAL DIRECTION_HORIZONTAL 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Direction- key或者value区域内容的方向: DIRECTION_VERTICAL DIRECTION_HORIZONTAL 注意:此字段可能返回 null,表示取不到有效值。
-
-