public class GeneralAccurateOCRResponse extends AbstractModel
header, skipSign
Constructor and Description |
---|
GeneralAccurateOCRResponse() |
GeneralAccurateOCRResponse(GeneralAccurateOCRResponse 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.
|
Modifier and Type | Method and Description |
---|---|
Float |
getAngel()
Deprecated.
|
Float |
getAngle()
Get 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看如何纠正倾斜文本
|
String |
getRequestId()
Get 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
TextDetection[] |
getTextDetections()
Get 检测到的文本信息,包括文本行内容、置信度、文本行坐标以及文本行旋转纠正后的坐标,具体内容请点击左侧链接。
|
void |
setAngel(Float Angel)
Deprecated.
|
void |
setAngle(Float Angle)
Set 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看如何纠正倾斜文本
|
void |
setRequestId(String RequestId)
Set 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
void |
setTextDetections(TextDetection[] TextDetections)
Set 检测到的文本信息,包括文本行内容、置信度、文本行坐标以及文本行旋转纠正后的坐标,具体内容请点击左侧链接。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public GeneralAccurateOCRResponse()
public GeneralAccurateOCRResponse(GeneralAccurateOCRResponse source)
public TextDetection[] getTextDetections()
public void setTextDetections(TextDetection[] TextDetections)
TextDetections
- 检测到的文本信息,包括文本行内容、置信度、文本行坐标以及文本行旋转纠正后的坐标,具体内容请点击左侧链接。@Deprecated public Float getAngel()
@Deprecated public void setAngel(Float Angel)
Angel
- 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看如何纠正倾斜文本public Float getAngle()
public void setAngle(Float Angle)
Angle
- 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看如何纠正倾斜文本public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。Copyright © 2024. All rights reserved.