public class GeneralFastOCRResponse extends AbstractModel
Constructor and Description |
---|
GeneralFastOCRResponse() |
GeneralFastOCRResponse(GeneralFastOCRResponse 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 |
getLanguage()
Get 检测到的语言,目前支持的语种范围为:简体中文、繁体中文、英文、日文、韩文。未来将陆续新增对更多语种的支持。
返回结果含义为:zh - 中英混合,jap - 日文,kor - 韩文。
|
Long |
getPdfPageSize()
Get 图片为PDF时,返回PDF的总页数,默认为0
|
String |
getRequestId()
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
TextDetection[] |
getTextDetections()
Get 检测到的文本信息,具体内容请点击左侧链接。
|
void |
setAngel(Float Angel)
Set 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负
|
void |
setLanguage(String Language)
Set 检测到的语言,目前支持的语种范围为:简体中文、繁体中文、英文、日文、韩文。未来将陆续新增对更多语种的支持。
返回结果含义为:zh - 中英混合,jap - 日文,kor - 韩文。
|
void |
setPdfPageSize(Long PdfPageSize)
Set 图片为PDF时,返回PDF的总页数,默认为0
|
void |
setRequestId(String RequestId)
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public GeneralFastOCRResponse()
public GeneralFastOCRResponse(GeneralFastOCRResponse source)
public TextDetection[] getTextDetections()
public void setTextDetections(TextDetection[] TextDetections)
TextDetections
- 检测到的文本信息,具体内容请点击左侧链接。public String getLanguage()
public void setLanguage(String Language)
Language
- 检测到的语言,目前支持的语种范围为:简体中文、繁体中文、英文、日文、韩文。未来将陆续新增对更多语种的支持。
返回结果含义为:zh - 中英混合,jap - 日文,kor - 韩文。public Float getAngel()
public void setAngel(Float Angel)
Angel
- 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负public Long getPdfPageSize()
public void setPdfPageSize(Long PdfPageSize)
PdfPageSize
- 图片为PDF时,返回PDF的总页数,默认为0public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。Copyright © 2021. All rights reserved.