Class DetectedWordCoordPoint
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ocr.v20181119.models.DetectedWordCoordPoint
-
public class DetectedWordCoordPoint extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description DetectedWordCoordPoint()DetectedWordCoordPoint(DetectedWordCoordPoint 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[]getWordCoordinate()Get 单字在原图中的坐标,以四个顶点坐标表示,以左上角为起点,顺时针返回。voidsetWordCoordinate(Coord[] WordCoordinate)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
-
DetectedWordCoordPoint
public DetectedWordCoordPoint()
-
DetectedWordCoordPoint
public DetectedWordCoordPoint(DetectedWordCoordPoint 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
-
getWordCoordinate
public Coord[] getWordCoordinate()
Get 单字在原图中的坐标,以四个顶点坐标表示,以左上角为起点,顺时针返回。- Returns:
- WordCoordinate 单字在原图中的坐标,以四个顶点坐标表示,以左上角为起点,顺时针返回。
-
setWordCoordinate
public void setWordCoordinate(Coord[] WordCoordinate)
Set 单字在原图中的坐标,以四个顶点坐标表示,以左上角为起点,顺时针返回。- Parameters:
WordCoordinate- 单字在原图中的坐标,以四个顶点坐标表示,以左上角为起点,顺时针返回。
-
-