Class LicensePlateOCRResponse
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ocr.v20181119.models.LicensePlateOCRResponse
-
public class LicensePlateOCRResponse extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description LicensePlateOCRResponse()LicensePlateOCRResponse(LicensePlateOCRResponse 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 StringgetColor()Get 识别出的车牌颜色,目前支持颜色包括 “白”、“黑”、“蓝”、“绿“、“黄”、“黄绿”、“临牌”。LonggetConfidence()Get 置信度,0 - 100 之间。LicensePlateInfo[]getLicensePlateInfos()Get 全部车牌信息。StringgetNumber()Get 识别出的车牌号码。RectgetRect()Get 文本行在原图片中的像素坐标框。StringgetRequestId()Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。voidsetColor(String Color)Set 识别出的车牌颜色,目前支持颜色包括 “白”、“黑”、“蓝”、“绿“、“黄”、“黄绿”、“临牌”。voidsetConfidence(Long Confidence)Set 置信度,0 - 100 之间。voidsetLicensePlateInfos(LicensePlateInfo[] LicensePlateInfos)Set 全部车牌信息。voidsetNumber(String Number)Set 识别出的车牌号码。voidsetRect(Rect Rect)Set 文本行在原图片中的像素坐标框。voidsetRequestId(String RequestId)Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。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
-
LicensePlateOCRResponse
public LicensePlateOCRResponse()
-
LicensePlateOCRResponse
public LicensePlateOCRResponse(LicensePlateOCRResponse 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
-
getNumber
public String getNumber()
Get 识别出的车牌号码。- Returns:
- Number 识别出的车牌号码。
-
setNumber
public void setNumber(String Number)
Set 识别出的车牌号码。- Parameters:
Number- 识别出的车牌号码。
-
getConfidence
public Long getConfidence()
Get 置信度,0 - 100 之间。- Returns:
- Confidence 置信度,0 - 100 之间。
-
setConfidence
public void setConfidence(Long Confidence)
Set 置信度,0 - 100 之间。- Parameters:
Confidence- 置信度,0 - 100 之间。
-
getRect
public Rect getRect()
Get 文本行在原图片中的像素坐标框。- Returns:
- Rect 文本行在原图片中的像素坐标框。
-
setRect
public void setRect(Rect Rect)
Set 文本行在原图片中的像素坐标框。- Parameters:
Rect- 文本行在原图片中的像素坐标框。
-
getColor
public String getColor()
Get 识别出的车牌颜色,目前支持颜色包括 “白”、“黑”、“蓝”、“绿“、“黄”、“黄绿”、“临牌”。- Returns:
- Color 识别出的车牌颜色,目前支持颜色包括 “白”、“黑”、“蓝”、“绿“、“黄”、“黄绿”、“临牌”。
-
setColor
public void setColor(String Color)
Set 识别出的车牌颜色,目前支持颜色包括 “白”、“黑”、“蓝”、“绿“、“黄”、“黄绿”、“临牌”。- Parameters:
Color- 识别出的车牌颜色,目前支持颜色包括 “白”、“黑”、“蓝”、“绿“、“黄”、“黄绿”、“临牌”。
-
getLicensePlateInfos
public LicensePlateInfo[] getLicensePlateInfos()
Get 全部车牌信息。- Returns:
- LicensePlateInfos 全部车牌信息。
-
setLicensePlateInfos
public void setLicensePlateInfos(LicensePlateInfo[] LicensePlateInfos)
Set 全部车牌信息。- Parameters:
LicensePlateInfos- 全部车牌信息。
-
getRequestId
public String getRequestId()
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Returns:
- RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
setRequestId
public void setRequestId(String RequestId)
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Parameters:
RequestId- 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
-