Class BusinessCardOCRResponse
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ocr.v20181119.models.BusinessCardOCRResponse
-
public class BusinessCardOCRResponse extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description BusinessCardOCRResponse()BusinessCardOCRResponse(BusinessCardOCRResponse 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 FloatgetAngle()Get 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看如何纠正倾斜文本BusinessCardInfo[]getBusinessCardInfos()Get 名片识别结果,具体内容请点击左侧链接。StringgetRequestId()Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。StringgetRetImageBase64()Get 返回图像预处理后的图片,图像预处理未开启时返回内容为空。voidsetAngle(Float Angle)Set 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看如何纠正倾斜文本voidsetBusinessCardInfos(BusinessCardInfo[] BusinessCardInfos)Set 名片识别结果,具体内容请点击左侧链接。voidsetRequestId(String RequestId)Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。voidsetRetImageBase64(String RetImageBase64)Set 返回图像预处理后的图片,图像预处理未开启时返回内容为空。voidtoMap(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
-
BusinessCardOCRResponse
public BusinessCardOCRResponse()
-
BusinessCardOCRResponse
public BusinessCardOCRResponse(BusinessCardOCRResponse 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
-
getBusinessCardInfos
public BusinessCardInfo[] getBusinessCardInfos()
Get 名片识别结果,具体内容请点击左侧链接。- Returns:
- BusinessCardInfos 名片识别结果,具体内容请点击左侧链接。
-
setBusinessCardInfos
public void setBusinessCardInfos(BusinessCardInfo[] BusinessCardInfos)
Set 名片识别结果,具体内容请点击左侧链接。- Parameters:
BusinessCardInfos- 名片识别结果,具体内容请点击左侧链接。
-
getRetImageBase64
public String getRetImageBase64()
Get 返回图像预处理后的图片,图像预处理未开启时返回内容为空。- Returns:
- RetImageBase64 返回图像预处理后的图片,图像预处理未开启时返回内容为空。
-
setRetImageBase64
public void setRetImageBase64(String RetImageBase64)
Set 返回图像预处理后的图片,图像预处理未开启时返回内容为空。- Parameters:
RetImageBase64- 返回图像预处理后的图片,图像预处理未开启时返回内容为空。
-
getAngle
public Float getAngle()
Get 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看如何纠正倾斜文本- Returns:
- Angle 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看如何纠正倾斜文本
-
setAngle
public void setAngle(Float Angle)
Set 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看如何纠正倾斜文本- Parameters:
Angle- 图片旋转角度(角度制),文本的水平方向为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。
-
-