Class GeneralHandwritingOCRResponse
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ocr.v20181119.models.GeneralHandwritingOCRResponse
-
public class GeneralHandwritingOCRResponse extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description GeneralHandwritingOCRResponse()GeneralHandwritingOCRResponse(GeneralHandwritingOCRResponse 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 FloatgetAngel()Get 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看如何纠正倾斜文本StringgetRequestId()Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。TextGeneralHandwriting[]getTextDetections()Get 检测到的文本信息,具体内容请点击左侧链接。voidsetAngel(Float Angel)Set 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看如何纠正倾斜文本voidsetRequestId(String RequestId)Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。voidsetTextDetections(TextGeneralHandwriting[] TextDetections)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
-
GeneralHandwritingOCRResponse
public GeneralHandwritingOCRResponse()
-
GeneralHandwritingOCRResponse
public GeneralHandwritingOCRResponse(GeneralHandwritingOCRResponse 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
-
getTextDetections
public TextGeneralHandwriting[] getTextDetections()
Get 检测到的文本信息,具体内容请点击左侧链接。- Returns:
- TextDetections 检测到的文本信息,具体内容请点击左侧链接。
-
setTextDetections
public void setTextDetections(TextGeneralHandwriting[] TextDetections)
Set 检测到的文本信息,具体内容请点击左侧链接。- Parameters:
TextDetections- 检测到的文本信息,具体内容请点击左侧链接。
-
getAngel
public Float getAngel()
Get 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看如何纠正倾斜文本- Returns:
- Angel 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看如何纠正倾斜文本
-
setAngel
public void setAngel(Float Angel)
Set 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看如何纠正倾斜文本- Parameters:
Angel- 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看如何纠正倾斜文本
-
getRequestId
public String getRequestId()
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Returns:
- RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
setRequestId
public void setRequestId(String RequestId)
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Parameters:
RequestId- 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
-