Class: TencentCloud::Ocr::V20181119::LicensePlateInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::LicensePlateInfo
- Defined in:
- lib/v20181119/models.rb
Overview
全部车牌信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(number = nil, confidence = nil, rect = nil, color = nil) ⇒ LicensePlateInfo
constructor
A new instance of LicensePlateInfo.
Constructor Details
#initialize(number = nil, confidence = nil, rect = nil, color = nil) ⇒ LicensePlateInfo
Returns a new instance of LicensePlateInfo.
5080 5081 5082 5083 5084 5085 |
# File 'lib/v20181119/models.rb', line 5080 def initialize(number=nil, confidence=nil, rect=nil, color=nil) @Number = number @Confidence = confidence @Rect = rect @Color = color end |
Instance Attribute Details
#Color ⇒ Object
5078 5079 5080 |
# File 'lib/v20181119/models.rb', line 5078 def Color @Color end |
#Confidence ⇒ Object
5078 5079 5080 |
# File 'lib/v20181119/models.rb', line 5078 def Confidence @Confidence end |
#Number ⇒ Object
5078 5079 5080 |
# File 'lib/v20181119/models.rb', line 5078 def Number @Number end |
#Rect ⇒ Object
5078 5079 5080 |
# File 'lib/v20181119/models.rb', line 5078 def Rect @Rect end |
Instance Method Details
#deserialize(params) ⇒ Object
5087 5088 5089 5090 5091 5092 5093 5094 5095 |
# File 'lib/v20181119/models.rb', line 5087 def deserialize(params) @Number = params['Number'] @Confidence = params['Confidence'] unless params['Rect'].nil? @Rect = Rect.new @Rect.deserialize(params['Rect']) end @Color = params['Color'] end |