Class AiRecognitionTaskOcrFullTextSegmentTextItem
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.mps.v20190612.models.AiRecognitionTaskOcrFullTextSegmentTextItem
-
public class AiRecognitionTaskOcrFullTextSegmentTextItem extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description AiRecognitionTaskOcrFullTextSegmentTextItem()AiRecognitionTaskOcrFullTextSegmentTextItem(AiRecognitionTaskOcrFullTextSegmentTextItem 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[]getAreaCoordSet()Get 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。FloatgetConfidence()Get 识别片段置信度。取值:0~100。StringgetText()Get 识别文本。voidsetAreaCoordSet(Long[] AreaCoordSet)Set 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。voidsetConfidence(Float Confidence)Set 识别片段置信度。取值:0~100。voidsetText(String Text)Set 识别文本。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
-
AiRecognitionTaskOcrFullTextSegmentTextItem
public AiRecognitionTaskOcrFullTextSegmentTextItem()
-
AiRecognitionTaskOcrFullTextSegmentTextItem
public AiRecognitionTaskOcrFullTextSegmentTextItem(AiRecognitionTaskOcrFullTextSegmentTextItem 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
-
getConfidence
public Float getConfidence()
Get 识别片段置信度。取值:0~100。- Returns:
- Confidence 识别片段置信度。取值:0~100。
-
setConfidence
public void setConfidence(Float Confidence)
Set 识别片段置信度。取值:0~100。- Parameters:
Confidence- 识别片段置信度。取值:0~100。
-
getAreaCoordSet
public Long[] getAreaCoordSet()
Get 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。- Returns:
- AreaCoordSet 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。
-
setAreaCoordSet
public void setAreaCoordSet(Long[] AreaCoordSet)
Set 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。- Parameters:
AreaCoordSet- 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。
-
getText
public String getText()
Get 识别文本。- Returns:
- Text 识别文本。
-
setText
public void setText(String Text)
Set 识别文本。- Parameters:
Text- 识别文本。
-
-