Class: TencentCloud::Tiia::V20190529::CarPlateContent

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190529/models.rb

Overview

车牌信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(plate = nil, color = nil, type = nil, platelocation = nil, platestatus = nil, platestatusconfidence = nil, plateangle = nil) ⇒ CarPlateContent

Returns a new instance of CarPlateContent.



222
223
224
225
226
227
228
229
230
# File 'lib/v20190529/models.rb', line 222

def initialize(plate=nil, color=nil, type=nil, platelocation=nil, platestatus=nil, platestatusconfidence=nil, plateangle=nil)
  @Plate = plate
  @Color = color
  @Type = type
  @PlateLocation = platelocation
  @PlateStatus = platestatus
  @PlateStatusConfidence = platestatusconfidence
  @PlateAngle = plateangle
end

Instance Attribute Details

#ColorObject

注意:此字段可能返回 null,表示取不到有效值。此字段结果遮挡污损模糊车牌/异常:包含PlateStatus参数的“遮挡污损模糊车牌”,针对车牌异常,建议参考此字段,更全面注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Plate:

    车牌信息。

  • Color:

    车牌颜色。

  • Type:

    车牌类型,包含:0普通蓝牌,1双层黄牌,2单层黄牌,3新能源车牌,4使馆车牌,5领馆车牌,6澳门车牌,7香港车牌,8警用车牌,9教练车牌,10武警车牌,11军用车牌 -2遮挡污损模糊车牌/异常 其他无牌

  • PlateLocation:

    车牌在图片中的坐标信息。

  • PlateStatus:

    判断车牌是否遮挡:“遮挡污损模糊车牌”和“正常车牌”。

  • PlateStatusConfidence:

    车牌遮挡的置信度,0-100。

  • PlateAngle:

    车牌角度。



220
221
222
# File 'lib/v20190529/models.rb', line 220

def Color
  @Color
end

#PlateObject

注意:此字段可能返回 null,表示取不到有效值。此字段结果遮挡污损模糊车牌/异常:包含PlateStatus参数的“遮挡污损模糊车牌”,针对车牌异常,建议参考此字段,更全面注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Plate:

    车牌信息。

  • Color:

    车牌颜色。

  • Type:

    车牌类型,包含:0普通蓝牌,1双层黄牌,2单层黄牌,3新能源车牌,4使馆车牌,5领馆车牌,6澳门车牌,7香港车牌,8警用车牌,9教练车牌,10武警车牌,11军用车牌 -2遮挡污损模糊车牌/异常 其他无牌

  • PlateLocation:

    车牌在图片中的坐标信息。

  • PlateStatus:

    判断车牌是否遮挡:“遮挡污损模糊车牌”和“正常车牌”。

  • PlateStatusConfidence:

    车牌遮挡的置信度,0-100。

  • PlateAngle:

    车牌角度。



220
221
222
# File 'lib/v20190529/models.rb', line 220

def Plate
  @Plate
end

#PlateAngleObject

注意:此字段可能返回 null,表示取不到有效值。此字段结果遮挡污损模糊车牌/异常:包含PlateStatus参数的“遮挡污损模糊车牌”,针对车牌异常,建议参考此字段,更全面注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Plate:

    车牌信息。

  • Color:

    车牌颜色。

  • Type:

    车牌类型,包含:0普通蓝牌,1双层黄牌,2单层黄牌,3新能源车牌,4使馆车牌,5领馆车牌,6澳门车牌,7香港车牌,8警用车牌,9教练车牌,10武警车牌,11军用车牌 -2遮挡污损模糊车牌/异常 其他无牌

  • PlateLocation:

    车牌在图片中的坐标信息。

  • PlateStatus:

    判断车牌是否遮挡:“遮挡污损模糊车牌”和“正常车牌”。

  • PlateStatusConfidence:

    车牌遮挡的置信度,0-100。

  • PlateAngle:

    车牌角度。



220
221
222
# File 'lib/v20190529/models.rb', line 220

def PlateAngle
  @PlateAngle
end

#PlateLocationObject

注意:此字段可能返回 null,表示取不到有效值。此字段结果遮挡污损模糊车牌/异常:包含PlateStatus参数的“遮挡污损模糊车牌”,针对车牌异常,建议参考此字段,更全面注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Plate:

    车牌信息。

  • Color:

    车牌颜色。

  • Type:

    车牌类型,包含:0普通蓝牌,1双层黄牌,2单层黄牌,3新能源车牌,4使馆车牌,5领馆车牌,6澳门车牌,7香港车牌,8警用车牌,9教练车牌,10武警车牌,11军用车牌 -2遮挡污损模糊车牌/异常 其他无牌

  • PlateLocation:

    车牌在图片中的坐标信息。

  • PlateStatus:

    判断车牌是否遮挡:“遮挡污损模糊车牌”和“正常车牌”。

  • PlateStatusConfidence:

    车牌遮挡的置信度,0-100。

  • PlateAngle:

    车牌角度。



220
221
222
# File 'lib/v20190529/models.rb', line 220

def PlateLocation
  @PlateLocation
end

#PlateStatusObject

注意:此字段可能返回 null,表示取不到有效值。此字段结果遮挡污损模糊车牌/异常:包含PlateStatus参数的“遮挡污损模糊车牌”,针对车牌异常,建议参考此字段,更全面注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Plate:

    车牌信息。

  • Color:

    车牌颜色。

  • Type:

    车牌类型,包含:0普通蓝牌,1双层黄牌,2单层黄牌,3新能源车牌,4使馆车牌,5领馆车牌,6澳门车牌,7香港车牌,8警用车牌,9教练车牌,10武警车牌,11军用车牌 -2遮挡污损模糊车牌/异常 其他无牌

  • PlateLocation:

    车牌在图片中的坐标信息。

  • PlateStatus:

    判断车牌是否遮挡:“遮挡污损模糊车牌”和“正常车牌”。

  • PlateStatusConfidence:

    车牌遮挡的置信度,0-100。

  • PlateAngle:

    车牌角度。



220
221
222
# File 'lib/v20190529/models.rb', line 220

def PlateStatus
  @PlateStatus
end

#PlateStatusConfidenceObject

注意:此字段可能返回 null,表示取不到有效值。此字段结果遮挡污损模糊车牌/异常:包含PlateStatus参数的“遮挡污损模糊车牌”,针对车牌异常,建议参考此字段,更全面注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Plate:

    车牌信息。

  • Color:

    车牌颜色。

  • Type:

    车牌类型,包含:0普通蓝牌,1双层黄牌,2单层黄牌,3新能源车牌,4使馆车牌,5领馆车牌,6澳门车牌,7香港车牌,8警用车牌,9教练车牌,10武警车牌,11军用车牌 -2遮挡污损模糊车牌/异常 其他无牌

  • PlateLocation:

    车牌在图片中的坐标信息。

  • PlateStatus:

    判断车牌是否遮挡:“遮挡污损模糊车牌”和“正常车牌”。

  • PlateStatusConfidence:

    车牌遮挡的置信度,0-100。

  • PlateAngle:

    车牌角度。



220
221
222
# File 'lib/v20190529/models.rb', line 220

def PlateStatusConfidence
  @PlateStatusConfidence
end

#TypeObject

注意:此字段可能返回 null,表示取不到有效值。此字段结果遮挡污损模糊车牌/异常:包含PlateStatus参数的“遮挡污损模糊车牌”,针对车牌异常,建议参考此字段,更全面注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Plate:

    车牌信息。

  • Color:

    车牌颜色。

  • Type:

    车牌类型,包含:0普通蓝牌,1双层黄牌,2单层黄牌,3新能源车牌,4使馆车牌,5领馆车牌,6澳门车牌,7香港车牌,8警用车牌,9教练车牌,10武警车牌,11军用车牌 -2遮挡污损模糊车牌/异常 其他无牌

  • PlateLocation:

    车牌在图片中的坐标信息。

  • PlateStatus:

    判断车牌是否遮挡:“遮挡污损模糊车牌”和“正常车牌”。

  • PlateStatusConfidence:

    车牌遮挡的置信度,0-100。

  • PlateAngle:

    车牌角度。



220
221
222
# File 'lib/v20190529/models.rb', line 220

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
# File 'lib/v20190529/models.rb', line 232

def deserialize(params)
  @Plate = params['Plate']
  @Color = params['Color']
  @Type = params['Type']
  unless params['PlateLocation'].nil?
    @PlateLocation = []
    params['PlateLocation'].each do |i|
      coord_tmp = Coord.new
      coord_tmp.deserialize(i)
      @PlateLocation << coord_tmp
    end
  end
  @PlateStatus = params['PlateStatus']
  @PlateStatusConfidence = params['PlateStatusConfidence']
  @PlateAngle = params['PlateAngle']
end