Class: TencentCloud::Tiia::V20190529::CarPlateContent
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tiia::V20190529::CarPlateContent
- Defined in:
- lib/v20190529/models.rb
Overview
车牌信息
Instance Attribute Summary collapse
-
#Color ⇒ Object
注意: 此字段可能返回 null,表示取不到有效值。 此字段结果遮挡污损模糊车牌/异常:包含PlateStatus参数的“遮挡污损模糊车牌”,针对车牌异常,建议参考此字段,更全面 注意:此字段可能返回 null,表示取不到有效值。.
-
#Plate ⇒ Object
注意: 此字段可能返回 null,表示取不到有效值。 此字段结果遮挡污损模糊车牌/异常:包含PlateStatus参数的“遮挡污损模糊车牌”,针对车牌异常,建议参考此字段,更全面 注意:此字段可能返回 null,表示取不到有效值。.
-
#PlateAngle ⇒ Object
注意: 此字段可能返回 null,表示取不到有效值。 此字段结果遮挡污损模糊车牌/异常:包含PlateStatus参数的“遮挡污损模糊车牌”,针对车牌异常,建议参考此字段,更全面 注意:此字段可能返回 null,表示取不到有效值。.
-
#PlateLocation ⇒ Object
注意: 此字段可能返回 null,表示取不到有效值。 此字段结果遮挡污损模糊车牌/异常:包含PlateStatus参数的“遮挡污损模糊车牌”,针对车牌异常,建议参考此字段,更全面 注意:此字段可能返回 null,表示取不到有效值。.
-
#PlateStatus ⇒ Object
注意: 此字段可能返回 null,表示取不到有效值。 此字段结果遮挡污损模糊车牌/异常:包含PlateStatus参数的“遮挡污损模糊车牌”,针对车牌异常,建议参考此字段,更全面 注意:此字段可能返回 null,表示取不到有效值。.
-
#PlateStatusConfidence ⇒ Object
注意: 此字段可能返回 null,表示取不到有效值。 此字段结果遮挡污损模糊车牌/异常:包含PlateStatus参数的“遮挡污损模糊车牌”,针对车牌异常,建议参考此字段,更全面 注意:此字段可能返回 null,表示取不到有效值。.
-
#Type ⇒ Object
注意: 此字段可能返回 null,表示取不到有效值。 此字段结果遮挡污损模糊车牌/异常:包含PlateStatus参数的“遮挡污损模糊车牌”,针对车牌异常,建议参考此字段,更全面 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(plate = nil, color = nil, type = nil, platelocation = nil, platestatus = nil, platestatusconfidence = nil, plateangle = nil) ⇒ CarPlateContent
constructor
A new instance of CarPlateContent.
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
#Color ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。此字段结果遮挡污损模糊车牌/异常:包含PlateStatus参数的“遮挡污损模糊车牌”,针对车牌异常,建议参考此字段,更全面注意:此字段可能返回 null,表示取不到有效值。
220 221 222 |
# File 'lib/v20190529/models.rb', line 220 def Color @Color end |
#Plate ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。此字段结果遮挡污损模糊车牌/异常:包含PlateStatus参数的“遮挡污损模糊车牌”,针对车牌异常,建议参考此字段,更全面注意:此字段可能返回 null,表示取不到有效值。
220 221 222 |
# File 'lib/v20190529/models.rb', line 220 def Plate @Plate end |
#PlateAngle ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。此字段结果遮挡污损模糊车牌/异常:包含PlateStatus参数的“遮挡污损模糊车牌”,针对车牌异常,建议参考此字段,更全面注意:此字段可能返回 null,表示取不到有效值。
220 221 222 |
# File 'lib/v20190529/models.rb', line 220 def PlateAngle @PlateAngle end |
#PlateLocation ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。此字段结果遮挡污损模糊车牌/异常:包含PlateStatus参数的“遮挡污损模糊车牌”,针对车牌异常,建议参考此字段,更全面注意:此字段可能返回 null,表示取不到有效值。
220 221 222 |
# File 'lib/v20190529/models.rb', line 220 def PlateLocation @PlateLocation end |
#PlateStatus ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。此字段结果遮挡污损模糊车牌/异常:包含PlateStatus参数的“遮挡污损模糊车牌”,针对车牌异常,建议参考此字段,更全面注意:此字段可能返回 null,表示取不到有效值。
220 221 222 |
# File 'lib/v20190529/models.rb', line 220 def PlateStatus @PlateStatus end |
#PlateStatusConfidence ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。此字段结果遮挡污损模糊车牌/异常:包含PlateStatus参数的“遮挡污损模糊车牌”,针对车牌异常,建议参考此字段,更全面注意:此字段可能返回 null,表示取不到有效值。
220 221 222 |
# File 'lib/v20190529/models.rb', line 220 def PlateStatusConfidence @PlateStatusConfidence end |
#Type ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。此字段结果遮挡污损模糊车牌/异常:包含PlateStatus参数的“遮挡污损模糊车牌”,针对车牌异常,建议参考此字段,更全面注意:此字段可能返回 null,表示取不到有效值。
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 |