public class EnglishOCRResponse extends AbstractModel
header, skipSign
Constructor and Description |
---|
EnglishOCRResponse() |
EnglishOCRResponse(EnglishOCRResponse 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()
Get 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看如何纠正倾斜文本
|
String |
getRequestId()
Get 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
TextDetectionEn[] |
getTextDetections()
Get 检测到的文本信息,具体内容请点击左侧链接。
|
void |
setAngel(Float Angel)
Set 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看如何纠正倾斜文本
|
void |
setRequestId(String RequestId)
Set 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
void |
setTextDetections(TextDetectionEn[] 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 EnglishOCRResponse()
public EnglishOCRResponse(EnglishOCRResponse source)
public TextDetectionEn[] getTextDetections()
public void setTextDetections(TextDetectionEn[] TextDetections)
TextDetections
- 检测到的文本信息,具体内容请点击左侧链接。public Float getAngel()
public void setAngel(Float Angel)
Angel
- 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看如何纠正倾斜文本public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。Copyright © 2025. All rights reserved.