Class: TencentCloud::Iss::V20230517::CarAIResultInfo

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20230517/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, platecontent = nil, location = nil) ⇒ CarAIResultInfo

Returns a new instance of CarAIResultInfo.



1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
# File 'lib/v20230517/models.rb', line 1436

def initialize(serial=nil, brand=nil, type=nil, color=nil, confidence=nil, year=nil, platecontent=nil, location=nil)
  @Serial = serial
  @Brand = brand
  @Type = type
  @Color = color
  @Confidence = confidence
  @Year = year
  @PlateContent = platecontent
  @Location = location
end

Instance Attribute Details

#BrandObject

Parameters:

  • Serial:

    车系

  • Brand:

    车辆品牌

  • Type:

    车辆类型

  • Color:

    车辆颜色

  • Confidence:

    置信度,0 - 100

  • Year:

    年份,识别不出年份时返回0

  • PlateContent:

    车牌信息

  • Location:

    截图中坐标信息



1434
1435
1436
# File 'lib/v20230517/models.rb', line 1434

def Brand
  @Brand
end

#ColorObject

Parameters:

  • Serial:

    车系

  • Brand:

    车辆品牌

  • Type:

    车辆类型

  • Color:

    车辆颜色

  • Confidence:

    置信度,0 - 100

  • Year:

    年份,识别不出年份时返回0

  • PlateContent:

    车牌信息

  • Location:

    截图中坐标信息



1434
1435
1436
# File 'lib/v20230517/models.rb', line 1434

def Color
  @Color
end

#ConfidenceObject

Parameters:

  • Serial:

    车系

  • Brand:

    车辆品牌

  • Type:

    车辆类型

  • Color:

    车辆颜色

  • Confidence:

    置信度,0 - 100

  • Year:

    年份,识别不出年份时返回0

  • PlateContent:

    车牌信息

  • Location:

    截图中坐标信息



1434
1435
1436
# File 'lib/v20230517/models.rb', line 1434

def Confidence
  @Confidence
end

#LocationObject

Parameters:

  • Serial:

    车系

  • Brand:

    车辆品牌

  • Type:

    车辆类型

  • Color:

    车辆颜色

  • Confidence:

    置信度,0 - 100

  • Year:

    年份,识别不出年份时返回0

  • PlateContent:

    车牌信息

  • Location:

    截图中坐标信息



1434
1435
1436
# File 'lib/v20230517/models.rb', line 1434

def Location
  @Location
end

#PlateContentObject

Parameters:

  • Serial:

    车系

  • Brand:

    车辆品牌

  • Type:

    车辆类型

  • Color:

    车辆颜色

  • Confidence:

    置信度,0 - 100

  • Year:

    年份,识别不出年份时返回0

  • PlateContent:

    车牌信息

  • Location:

    截图中坐标信息



1434
1435
1436
# File 'lib/v20230517/models.rb', line 1434

def PlateContent
  @PlateContent
end

#SerialObject

Parameters:

  • Serial:

    车系

  • Brand:

    车辆品牌

  • Type:

    车辆类型

  • Color:

    车辆颜色

  • Confidence:

    置信度,0 - 100

  • Year:

    年份,识别不出年份时返回0

  • PlateContent:

    车牌信息

  • Location:

    截图中坐标信息



1434
1435
1436
# File 'lib/v20230517/models.rb', line 1434

def Serial
  @Serial
end

#TypeObject

Parameters:

  • Serial:

    车系

  • Brand:

    车辆品牌

  • Type:

    车辆类型

  • Color:

    车辆颜色

  • Confidence:

    置信度,0 - 100

  • Year:

    年份,识别不出年份时返回0

  • PlateContent:

    车牌信息

  • Location:

    截图中坐标信息



1434
1435
1436
# File 'lib/v20230517/models.rb', line 1434

def Type
  @Type
end

#YearObject

Parameters:

  • Serial:

    车系

  • Brand:

    车辆品牌

  • Type:

    车辆类型

  • Color:

    车辆颜色

  • Confidence:

    置信度,0 - 100

  • Year:

    年份,识别不出年份时返回0

  • PlateContent:

    车牌信息

  • Location:

    截图中坐标信息



1434
1435
1436
# File 'lib/v20230517/models.rb', line 1434

def Year
  @Year
end

Instance Method Details

#deserialize(params) ⇒ Object



1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
# File 'lib/v20230517/models.rb', line 1447

def deserialize(params)
  @Serial = params['Serial']
  @Brand = params['Brand']
  @Type = params['Type']
  @Color = params['Color']
  @Confidence = params['Confidence']
  @Year = params['Year']
  unless params['PlateContent'].nil?
    @PlateContent = PlateContent.new
    @PlateContent.deserialize(params['PlateContent'])
  end
  unless params['Location'].nil?
    @Location = Location.new
    @Location.deserialize(params['Location'])
  end
end