Class LicensePlateInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ocr.v20181119.models.LicensePlateInfo
-
public class LicensePlateInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description LicensePlateInfo()LicensePlateInfo(LicensePlateInfo 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 之间。StringgetNumber()Get 识别出的车牌号码。RectgetRect()Get 文本行在原图片中的像素坐标框。voidsetColor(String Color)Set 识别出的车牌颜色,目前支持颜色包括 “白”、“黑”、“蓝”、“绿“、“黄”、“黄绿”、“临牌”。voidsetConfidence(Long Confidence)Set 置信度,0 - 100 之间。voidsetNumber(String Number)Set 识别出的车牌号码。voidsetRect(Rect Rect)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
-
LicensePlateInfo
public LicensePlateInfo()
-
LicensePlateInfo
public LicensePlateInfo(LicensePlateInfo 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- 识别出的车牌颜色,目前支持颜色包括 “白”、“黑”、“蓝”、“绿“、“黄”、“黄绿”、“临牌”。
-
-