Class: TencentCloud::Tiia::V20190529::CarTagItem

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

Overview

车辆属性识别的结果

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(serial = nil, brand = nil, type = nil, color = nil, confidence = nil, year = nil, carlocation = nil, platecontent = nil, plateconfidence = nil, typeconfidence = nil, colorconfidence = nil, orientation = nil, orientationconfidence = nil) ⇒ CarTagItem

Returns a new instance of CarTagItem.



282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
# File 'lib/v20190529/models.rb', line 282

def initialize(serial=nil, brand=nil, type=nil, color=nil, confidence=nil, year=nil, carlocation=nil, platecontent=nil, plateconfidence=nil, typeconfidence=nil, colorconfidence=nil, orientation=nil, orientationconfidence=nil)
  @Serial = serial
  @Brand = brand
  @Type = type
  @Color = color
  @Confidence = confidence
  @Year = year
  @CarLocation = carlocation
  @PlateContent = platecontent
  @PlateConfidence = plateconfidence
  @TypeConfidence = typeconfidence
  @ColorConfidence = colorconfidence
  @Orientation = orientation
  @OrientationConfidence = orientationconfidence
end

Instance Attribute Details

#BrandObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Serial:

    车系

  • Brand:

    车辆品牌

  • Type:

    车辆类型

  • Color:

    车辆颜色

  • Confidence:

    车系置信度,0-100

  • Year:

    年份,没识别出年份的时候返回0

  • CarLocation:

    车辆在图片中的坐标信息

  • PlateContent:

    车牌信息,仅车辆识别(增强版)支持

  • PlateConfidence:

    车牌信息置信度,0-100,仅车辆识别(增强版)支持

  • TypeConfidence:

    车辆类型置信度,0-100,仅车辆识别(增强版)支持

  • ColorConfidence:

    车辆颜色置信度,0-100,仅车辆识别(增强版)支持

  • Orientation:

    车辆朝向,仅车辆识别(增强版)支持

  • OrientationConfidence:

    车辆朝向置信度,0-100,仅车辆识别(增强版)支持



280
281
282
# File 'lib/v20190529/models.rb', line 280

def Brand
  @Brand
end

#CarLocationObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Serial:

    车系

  • Brand:

    车辆品牌

  • Type:

    车辆类型

  • Color:

    车辆颜色

  • Confidence:

    车系置信度,0-100

  • Year:

    年份,没识别出年份的时候返回0

  • CarLocation:

    车辆在图片中的坐标信息

  • PlateContent:

    车牌信息,仅车辆识别(增强版)支持

  • PlateConfidence:

    车牌信息置信度,0-100,仅车辆识别(增强版)支持

  • TypeConfidence:

    车辆类型置信度,0-100,仅车辆识别(增强版)支持

  • ColorConfidence:

    车辆颜色置信度,0-100,仅车辆识别(增强版)支持

  • Orientation:

    车辆朝向,仅车辆识别(增强版)支持

  • OrientationConfidence:

    车辆朝向置信度,0-100,仅车辆识别(增强版)支持



280
281
282
# File 'lib/v20190529/models.rb', line 280

def CarLocation
  @CarLocation
end

#ColorObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Serial:

    车系

  • Brand:

    车辆品牌

  • Type:

    车辆类型

  • Color:

    车辆颜色

  • Confidence:

    车系置信度,0-100

  • Year:

    年份,没识别出年份的时候返回0

  • CarLocation:

    车辆在图片中的坐标信息

  • PlateContent:

    车牌信息,仅车辆识别(增强版)支持

  • PlateConfidence:

    车牌信息置信度,0-100,仅车辆识别(增强版)支持

  • TypeConfidence:

    车辆类型置信度,0-100,仅车辆识别(增强版)支持

  • ColorConfidence:

    车辆颜色置信度,0-100,仅车辆识别(增强版)支持

  • Orientation:

    车辆朝向,仅车辆识别(增强版)支持

  • OrientationConfidence:

    车辆朝向置信度,0-100,仅车辆识别(增强版)支持



280
281
282
# File 'lib/v20190529/models.rb', line 280

def Color
  @Color
end

#ColorConfidenceObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Serial:

    车系

  • Brand:

    车辆品牌

  • Type:

    车辆类型

  • Color:

    车辆颜色

  • Confidence:

    车系置信度,0-100

  • Year:

    年份,没识别出年份的时候返回0

  • CarLocation:

    车辆在图片中的坐标信息

  • PlateContent:

    车牌信息,仅车辆识别(增强版)支持

  • PlateConfidence:

    车牌信息置信度,0-100,仅车辆识别(增强版)支持

  • TypeConfidence:

    车辆类型置信度,0-100,仅车辆识别(增强版)支持

  • ColorConfidence:

    车辆颜色置信度,0-100,仅车辆识别(增强版)支持

  • Orientation:

    车辆朝向,仅车辆识别(增强版)支持

  • OrientationConfidence:

    车辆朝向置信度,0-100,仅车辆识别(增强版)支持



280
281
282
# File 'lib/v20190529/models.rb', line 280

def ColorConfidence
  @ColorConfidence
end

#ConfidenceObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Serial:

    车系

  • Brand:

    车辆品牌

  • Type:

    车辆类型

  • Color:

    车辆颜色

  • Confidence:

    车系置信度,0-100

  • Year:

    年份,没识别出年份的时候返回0

  • CarLocation:

    车辆在图片中的坐标信息

  • PlateContent:

    车牌信息,仅车辆识别(增强版)支持

  • PlateConfidence:

    车牌信息置信度,0-100,仅车辆识别(增强版)支持

  • TypeConfidence:

    车辆类型置信度,0-100,仅车辆识别(增强版)支持

  • ColorConfidence:

    车辆颜色置信度,0-100,仅车辆识别(增强版)支持

  • Orientation:

    车辆朝向,仅车辆识别(增强版)支持

  • OrientationConfidence:

    车辆朝向置信度,0-100,仅车辆识别(增强版)支持



280
281
282
# File 'lib/v20190529/models.rb', line 280

def Confidence
  @Confidence
end

#OrientationObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Serial:

    车系

  • Brand:

    车辆品牌

  • Type:

    车辆类型

  • Color:

    车辆颜色

  • Confidence:

    车系置信度,0-100

  • Year:

    年份,没识别出年份的时候返回0

  • CarLocation:

    车辆在图片中的坐标信息

  • PlateContent:

    车牌信息,仅车辆识别(增强版)支持

  • PlateConfidence:

    车牌信息置信度,0-100,仅车辆识别(增强版)支持

  • TypeConfidence:

    车辆类型置信度,0-100,仅车辆识别(增强版)支持

  • ColorConfidence:

    车辆颜色置信度,0-100,仅车辆识别(增强版)支持

  • Orientation:

    车辆朝向,仅车辆识别(增强版)支持

  • OrientationConfidence:

    车辆朝向置信度,0-100,仅车辆识别(增强版)支持



280
281
282
# File 'lib/v20190529/models.rb', line 280

def Orientation
  @Orientation
end

#OrientationConfidenceObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Serial:

    车系

  • Brand:

    车辆品牌

  • Type:

    车辆类型

  • Color:

    车辆颜色

  • Confidence:

    车系置信度,0-100

  • Year:

    年份,没识别出年份的时候返回0

  • CarLocation:

    车辆在图片中的坐标信息

  • PlateContent:

    车牌信息,仅车辆识别(增强版)支持

  • PlateConfidence:

    车牌信息置信度,0-100,仅车辆识别(增强版)支持

  • TypeConfidence:

    车辆类型置信度,0-100,仅车辆识别(增强版)支持

  • ColorConfidence:

    车辆颜色置信度,0-100,仅车辆识别(增强版)支持

  • Orientation:

    车辆朝向,仅车辆识别(增强版)支持

  • OrientationConfidence:

    车辆朝向置信度,0-100,仅车辆识别(增强版)支持



280
281
282
# File 'lib/v20190529/models.rb', line 280

def OrientationConfidence
  @OrientationConfidence
end

#PlateConfidenceObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Serial:

    车系

  • Brand:

    车辆品牌

  • Type:

    车辆类型

  • Color:

    车辆颜色

  • Confidence:

    车系置信度,0-100

  • Year:

    年份,没识别出年份的时候返回0

  • CarLocation:

    车辆在图片中的坐标信息

  • PlateContent:

    车牌信息,仅车辆识别(增强版)支持

  • PlateConfidence:

    车牌信息置信度,0-100,仅车辆识别(增强版)支持

  • TypeConfidence:

    车辆类型置信度,0-100,仅车辆识别(增强版)支持

  • ColorConfidence:

    车辆颜色置信度,0-100,仅车辆识别(增强版)支持

  • Orientation:

    车辆朝向,仅车辆识别(增强版)支持

  • OrientationConfidence:

    车辆朝向置信度,0-100,仅车辆识别(增强版)支持



280
281
282
# File 'lib/v20190529/models.rb', line 280

def PlateConfidence
  @PlateConfidence
end

#PlateContentObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Serial:

    车系

  • Brand:

    车辆品牌

  • Type:

    车辆类型

  • Color:

    车辆颜色

  • Confidence:

    车系置信度,0-100

  • Year:

    年份,没识别出年份的时候返回0

  • CarLocation:

    车辆在图片中的坐标信息

  • PlateContent:

    车牌信息,仅车辆识别(增强版)支持

  • PlateConfidence:

    车牌信息置信度,0-100,仅车辆识别(增强版)支持

  • TypeConfidence:

    车辆类型置信度,0-100,仅车辆识别(增强版)支持

  • ColorConfidence:

    车辆颜色置信度,0-100,仅车辆识别(增强版)支持

  • Orientation:

    车辆朝向,仅车辆识别(增强版)支持

  • OrientationConfidence:

    车辆朝向置信度,0-100,仅车辆识别(增强版)支持



280
281
282
# File 'lib/v20190529/models.rb', line 280

def PlateContent
  @PlateContent
end

#SerialObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Serial:

    车系

  • Brand:

    车辆品牌

  • Type:

    车辆类型

  • Color:

    车辆颜色

  • Confidence:

    车系置信度,0-100

  • Year:

    年份,没识别出年份的时候返回0

  • CarLocation:

    车辆在图片中的坐标信息

  • PlateContent:

    车牌信息,仅车辆识别(增强版)支持

  • PlateConfidence:

    车牌信息置信度,0-100,仅车辆识别(增强版)支持

  • TypeConfidence:

    车辆类型置信度,0-100,仅车辆识别(增强版)支持

  • ColorConfidence:

    车辆颜色置信度,0-100,仅车辆识别(增强版)支持

  • Orientation:

    车辆朝向,仅车辆识别(增强版)支持

  • OrientationConfidence:

    车辆朝向置信度,0-100,仅车辆识别(增强版)支持



280
281
282
# File 'lib/v20190529/models.rb', line 280

def Serial
  @Serial
end

#TypeObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Serial:

    车系

  • Brand:

    车辆品牌

  • Type:

    车辆类型

  • Color:

    车辆颜色

  • Confidence:

    车系置信度,0-100

  • Year:

    年份,没识别出年份的时候返回0

  • CarLocation:

    车辆在图片中的坐标信息

  • PlateContent:

    车牌信息,仅车辆识别(增强版)支持

  • PlateConfidence:

    车牌信息置信度,0-100,仅车辆识别(增强版)支持

  • TypeConfidence:

    车辆类型置信度,0-100,仅车辆识别(增强版)支持

  • ColorConfidence:

    车辆颜色置信度,0-100,仅车辆识别(增强版)支持

  • Orientation:

    车辆朝向,仅车辆识别(增强版)支持

  • OrientationConfidence:

    车辆朝向置信度,0-100,仅车辆识别(增强版)支持



280
281
282
# File 'lib/v20190529/models.rb', line 280

def Type
  @Type
end

#TypeConfidenceObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Serial:

    车系

  • Brand:

    车辆品牌

  • Type:

    车辆类型

  • Color:

    车辆颜色

  • Confidence:

    车系置信度,0-100

  • Year:

    年份,没识别出年份的时候返回0

  • CarLocation:

    车辆在图片中的坐标信息

  • PlateContent:

    车牌信息,仅车辆识别(增强版)支持

  • PlateConfidence:

    车牌信息置信度,0-100,仅车辆识别(增强版)支持

  • TypeConfidence:

    车辆类型置信度,0-100,仅车辆识别(增强版)支持

  • ColorConfidence:

    车辆颜色置信度,0-100,仅车辆识别(增强版)支持

  • Orientation:

    车辆朝向,仅车辆识别(增强版)支持

  • OrientationConfidence:

    车辆朝向置信度,0-100,仅车辆识别(增强版)支持



280
281
282
# File 'lib/v20190529/models.rb', line 280

def TypeConfidence
  @TypeConfidence
end

#YearObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Serial:

    车系

  • Brand:

    车辆品牌

  • Type:

    车辆类型

  • Color:

    车辆颜色

  • Confidence:

    车系置信度,0-100

  • Year:

    年份,没识别出年份的时候返回0

  • CarLocation:

    车辆在图片中的坐标信息

  • PlateContent:

    车牌信息,仅车辆识别(增强版)支持

  • PlateConfidence:

    车牌信息置信度,0-100,仅车辆识别(增强版)支持

  • TypeConfidence:

    车辆类型置信度,0-100,仅车辆识别(增强版)支持

  • ColorConfidence:

    车辆颜色置信度,0-100,仅车辆识别(增强版)支持

  • Orientation:

    车辆朝向,仅车辆识别(增强版)支持

  • OrientationConfidence:

    车辆朝向置信度,0-100,仅车辆识别(增强版)支持



280
281
282
# File 'lib/v20190529/models.rb', line 280

def Year
  @Year
end

Instance Method Details

#deserialize(params) ⇒ Object



298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
# File 'lib/v20190529/models.rb', line 298

def deserialize(params)
  @Serial = params['Serial']
  @Brand = params['Brand']
  @Type = params['Type']
  @Color = params['Color']
  @Confidence = params['Confidence']
  @Year = params['Year']
  unless params['CarLocation'].nil?
    @CarLocation = []
    params['CarLocation'].each do |i|
      coord_tmp = Coord.new
      coord_tmp.deserialize(i)
      @CarLocation << coord_tmp
    end
  end
  unless params['PlateContent'].nil?
    @PlateContent = CarPlateContent.new
    @PlateContent.deserialize(params['PlateContent'])
  end
  @PlateConfidence = params['PlateConfidence']
  @TypeConfidence = params['TypeConfidence']
  @ColorConfidence = params['ColorConfidence']
  @Orientation = params['Orientation']
  @OrientationConfidence = params['OrientationConfidence']
end