Class TextEduPaper
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ocr.v20181119.models.TextEduPaper
-
public class TextEduPaper extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description TextEduPaper()TextEduPaper(TextEduPaper 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 StringgetDetectedText()Get 识别出的字段名称对应的值,也就是字段Item对应的字符串结果StringgetItem()Get 识别出的字段名称(关键字)ItemCoordgetItemcoord()Get 文本行在旋转纠正之后的图像中的像素坐标,表示为(左上角x, 左上角y,宽width,高height)voidsetDetectedText(String DetectedText)Set 识别出的字段名称对应的值,也就是字段Item对应的字符串结果voidsetItem(String Item)Set 识别出的字段名称(关键字)voidsetItemcoord(ItemCoord Itemcoord)Set 文本行在旋转纠正之后的图像中的像素坐标,表示为(左上角x, 左上角y,宽width,高height)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
-
TextEduPaper
public TextEduPaper()
-
TextEduPaper
public TextEduPaper(TextEduPaper 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
-
getItem
public String getItem()
Get 识别出的字段名称(关键字)- Returns:
- Item 识别出的字段名称(关键字)
-
setItem
public void setItem(String Item)
Set 识别出的字段名称(关键字)- Parameters:
Item- 识别出的字段名称(关键字)
-
getDetectedText
public String getDetectedText()
Get 识别出的字段名称对应的值,也就是字段Item对应的字符串结果- Returns:
- DetectedText 识别出的字段名称对应的值,也就是字段Item对应的字符串结果
-
setDetectedText
public void setDetectedText(String DetectedText)
Set 识别出的字段名称对应的值,也就是字段Item对应的字符串结果- Parameters:
DetectedText- 识别出的字段名称对应的值,也就是字段Item对应的字符串结果
-
getItemcoord
public ItemCoord getItemcoord()
Get 文本行在旋转纠正之后的图像中的像素坐标,表示为(左上角x, 左上角y,宽width,高height)- Returns:
- Itemcoord 文本行在旋转纠正之后的图像中的像素坐标,表示为(左上角x, 左上角y,宽width,高height)
-
setItemcoord
public void setItemcoord(ItemCoord Itemcoord)
Set 文本行在旋转纠正之后的图像中的像素坐标,表示为(左上角x, 左上角y,宽width,高height)- Parameters:
Itemcoord- 文本行在旋转纠正之后的图像中的像素坐标,表示为(左上角x, 左上角y,宽width,高height)
-
-