Class StructuralItem
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ocr.v20181119.models.StructuralItem
-
public class StructuralItem extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description StructuralItem()
StructuralItem(StructuralItem 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 Long
getConfidence()
Get 置信度 0 ~100。ItemCoord
getItemCoord()
Get 文本行在旋转纠正之后的图像中的像素 坐标。String
getName()
Get 识别出的字段名称(关键字)。Long
getRow()
Get 字段所在行号,下标从0开始,非行字段或未能识别行号的该值返回-1。String
getValue()
Get 识别出的字段名称对应的值。void
setConfidence(Long Confidence)
Set 置信度 0 ~100。void
setItemCoord(ItemCoord ItemCoord)
Set 文本行在旋转纠正之后的图像中的像素 坐标。void
setName(String Name)
Set 识别出的字段名称(关键字)。void
setRow(Long Row)
Set 字段所在行号,下标从0开始,非行字段或未能识别行号的该值返回-1。void
setValue(String Value)
Set 识别出的字段名称对应的值。void
toMap(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
-
StructuralItem
public StructuralItem()
-
StructuralItem
public StructuralItem(StructuralItem 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
-
getName
public String getName()
Get 识别出的字段名称(关键字)。- Returns:
- Name 识别出的字段名称(关键字)。
-
setName
public void setName(String Name)
Set 识别出的字段名称(关键字)。- Parameters:
Name
- 识别出的字段名称(关键字)。
-
getValue
public String getValue()
Get 识别出的字段名称对应的值。- Returns:
- Value 识别出的字段名称对应的值。
-
setValue
public void setValue(String Value)
Set 识别出的字段名称对应的值。- Parameters:
Value
- 识别出的字段名称对应的值。
-
getConfidence
public Long getConfidence()
Get 置信度 0 ~100。- Returns:
- Confidence 置信度 0 ~100。
-
setConfidence
public void setConfidence(Long Confidence)
Set 置信度 0 ~100。- Parameters:
Confidence
- 置信度 0 ~100。
-
getItemCoord
public ItemCoord getItemCoord()
Get 文本行在旋转纠正之后的图像中的像素 坐标。- Returns:
- ItemCoord 文本行在旋转纠正之后的图像中的像素 坐标。
-
setItemCoord
public void setItemCoord(ItemCoord ItemCoord)
Set 文本行在旋转纠正之后的图像中的像素 坐标。- Parameters:
ItemCoord
- 文本行在旋转纠正之后的图像中的像素 坐标。
-
getRow
public Long getRow()
Get 字段所在行号,下标从0开始,非行字段或未能识别行号的该值返回-1。- Returns:
- Row 字段所在行号,下标从0开始,非行字段或未能识别行号的该值返回-1。
-
setRow
public void setRow(Long Row)
Set 字段所在行号,下标从0开始,非行字段或未能识别行号的该值返回-1。- Parameters:
Row
- 字段所在行号,下标从0开始,非行字段或未能识别行号的该值返回-1。
-
-