public class AdvertiseOCRResponse extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| AdvertiseOCRResponse() | 
| AdvertiseOCRResponse(AdvertiseOCRResponse 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 | 
|---|---|
| ImageSize | getImageSize()Get 图片分辨率信息,单位 px | 
| String | getRequestId()Get 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 | 
| AdvertiseTextDetection[] | getTextDetections()Get 检测到的文本信息,包括文本行内容、置信度、文本行坐标以及文本行旋转纠正后的坐标,具体内容请点击左侧链接。 | 
| void | setImageSize(ImageSize ImageSize)Set 图片分辨率信息,单位 px | 
| void | setRequestId(String RequestId)Set 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 | 
| void | setTextDetections(AdvertiseTextDetection[] 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, toJsonStringpublic AdvertiseOCRResponse()
public AdvertiseOCRResponse(AdvertiseOCRResponse source)
public AdvertiseTextDetection[] getTextDetections()
public void setTextDetections(AdvertiseTextDetection[] TextDetections)
TextDetections - 检测到的文本信息,包括文本行内容、置信度、文本行坐标以及文本行旋转纠正后的坐标,具体内容请点击左侧链接。public ImageSize getImageSize()
public void setImageSize(ImageSize ImageSize)
ImageSize - 图片分辨率信息,单位 pxpublic String getRequestId()
public void setRequestId(String RequestId)
RequestId - 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。Copyright © 2025. All rights reserved.