Class TextDetectionResult
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ocr.v20181119.models.TextDetectionResult
-
public class TextDetectionResult extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description TextDetectionResult()
TextDetectionResult(TextDetectionResult 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 Coord[]
getPolygon()
Get 坐标,以四个顶点坐标表示String
getValue()
Get 识别出的文本行内容void
setPolygon(Coord[] Polygon)
Set 坐标,以四个顶点坐标表示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
-
TextDetectionResult
public TextDetectionResult()
-
TextDetectionResult
public TextDetectionResult(TextDetectionResult 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
-
getValue
public String getValue()
Get 识别出的文本行内容- Returns:
- Value 识别出的文本行内容
-
setValue
public void setValue(String Value)
Set 识别出的文本行内容- Parameters:
Value
- 识别出的文本行内容
-
getPolygon
public Coord[] getPolygon()
Get 坐标,以四个顶点坐标表示- Returns:
- Polygon 坐标,以四个顶点坐标表示
-
setPolygon
public void setPolygon(Coord[] Polygon)
Set 坐标,以四个顶点坐标表示- Parameters:
Polygon
- 坐标,以四个顶点坐标表示
-
-