Class GeneralFastOCRResponse
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ocr.v20181119.models.GeneralFastOCRResponse
-
public class GeneralFastOCRResponse extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Float
getAngel()
Get 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负String
getLanguage()
Get 检测到的语言,目前支持的语种范围为:简体中文、繁体中文、英文、日文、韩文。未来将陆续新增对更多语种的支持。 返回结果含义为:zh - 中英混合,jap - 日文,kor - 韩文。Long
getPdfPageSize()
Get 图片为PDF时,返回PDF的总页数,默认为0String
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的总页数,默认为0void
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.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
GeneralFastOCRResponse
public GeneralFastOCRResponse()
-
GeneralFastOCRResponse
public 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.
-
-
Method Detail
-
getTextDetections
public TextDetection[] getTextDetections()
Get 检测到的文本信息,具体内容请点击左侧链接。- Returns:
- TextDetections 检测到的文本信息,具体内容请点击左侧链接。
-
setTextDetections
public void setTextDetections(TextDetection[] TextDetections)
Set 检测到的文本信息,具体内容请点击左侧链接。- Parameters:
TextDetections
- 检测到的文本信息,具体内容请点击左侧链接。
-
getLanguage
public String getLanguage()
Get 检测到的语言,目前支持的语种范围为:简体中文、繁体中文、英文、日文、韩文。未来将陆续新增对更多语种的支持。 返回结果含义为:zh - 中英混合,jap - 日文,kor - 韩文。- Returns:
- Language 检测到的语言,目前支持的语种范围为:简体中文、繁体中文、英文、日文、韩文。未来将陆续新增对更多语种的支持。 返回结果含义为:zh - 中英混合,jap - 日文,kor - 韩文。
-
setLanguage
public void setLanguage(String Language)
Set 检测到的语言,目前支持的语种范围为:简体中文、繁体中文、英文、日文、韩文。未来将陆续新增对更多语种的支持。 返回结果含义为:zh - 中英混合,jap - 日文,kor - 韩文。- Parameters:
Language
- 检测到的语言,目前支持的语种范围为:简体中文、繁体中文、英文、日文、韩文。未来将陆续新增对更多语种的支持。 返回结果含义为:zh - 中英混合,jap - 日文,kor - 韩文。
-
getAngel
public Float getAngel()
Get 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负- Returns:
- Angel 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负
-
setAngel
public void setAngel(Float Angel)
Set 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负- Parameters:
Angel
- 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负
-
getPdfPageSize
public Long getPdfPageSize()
Get 图片为PDF时,返回PDF的总页数,默认为0- Returns:
- PdfPageSize 图片为PDF时,返回PDF的总页数,默认为0
-
setPdfPageSize
public void setPdfPageSize(Long PdfPageSize)
Set 图片为PDF时,返回PDF的总页数,默认为0- Parameters:
PdfPageSize
- 图片为PDF时,返回PDF的总页数,默认为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。
-
-