Class: TencentCloud::Tiia::V20190529::RecognizeCarProResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tiia::V20190529::RecognizeCarProResponse
- Defined in:
- lib/v20190529/models.rb
Overview
RecognizeCarPro返回参数结构体
Instance Attribute Summary collapse
-
#CarCoords ⇒ Object
注意:置信度是指车牌信息置信度。.
-
#CarTags ⇒ Object
注意:置信度是指车牌信息置信度。.
-
#RequestId ⇒ Object
注意:置信度是指车牌信息置信度。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(carcoords = nil, cartags = nil, requestid = nil) ⇒ RecognizeCarProResponse
constructor
A new instance of RecognizeCarProResponse.
Constructor Details
#initialize(carcoords = nil, cartags = nil, requestid = nil) ⇒ RecognizeCarProResponse
Returns a new instance of RecognizeCarProResponse.
1729 1730 1731 1732 1733 |
# File 'lib/v20190529/models.rb', line 1729 def initialize(carcoords=nil, =nil, requestid=nil) @CarCoords = carcoords @CarTags = @RequestId = requestid end |
Instance Attribute Details
#CarCoords ⇒ Object
注意:置信度是指车牌信息置信度。
1727 1728 1729 |
# File 'lib/v20190529/models.rb', line 1727 def CarCoords @CarCoords end |
#CarTags ⇒ Object
注意:置信度是指车牌信息置信度。
1727 1728 1729 |
# File 'lib/v20190529/models.rb', line 1727 def CarTags @CarTags end |
#RequestId ⇒ Object
注意:置信度是指车牌信息置信度。
1727 1728 1729 |
# File 'lib/v20190529/models.rb', line 1727 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 |
# File 'lib/v20190529/models.rb', line 1735 def deserialize(params) unless params['CarCoords'].nil? @CarCoords = [] params['CarCoords'].each do |i| coord_tmp = Coord.new coord_tmp.deserialize(i) @CarCoords << coord_tmp end end unless params['CarTags'].nil? @CarTags = [] params['CarTags'].each do |i| cartagitem_tmp = CarTagItem.new cartagitem_tmp.deserialize(i) @CarTags << cartagitem_tmp end end @RequestId = params['RequestId'] end |