Class: TencentCloud::Iss::V20230517::Location
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iss::V20230517::Location
- Defined in:
- lib/v20230517/models.rb
Overview
AI识别结果在画面中坐标
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(x = nil, y = nil, width = nil, height = nil) ⇒ Location
constructor
A new instance of Location.
Constructor Details
#initialize(x = nil, y = nil, width = nil, height = nil) ⇒ Location
Returns a new instance of Location.
6083 6084 6085 6086 6087 6088 |
# File 'lib/v20230517/models.rb', line 6083 def initialize(x=nil, y=nil, width=nil, height=nil) @X = x @Y = y @Width = width @Height = height end |
Instance Attribute Details
#Height ⇒ Object
6081 6082 6083 |
# File 'lib/v20230517/models.rb', line 6081 def Height @Height end |
#Width ⇒ Object
6081 6082 6083 |
# File 'lib/v20230517/models.rb', line 6081 def Width @Width end |
#X ⇒ Object
6081 6082 6083 |
# File 'lib/v20230517/models.rb', line 6081 def X @X end |
#Y ⇒ Object
6081 6082 6083 |
# File 'lib/v20230517/models.rb', line 6081 def Y @Y end |
Instance Method Details
#deserialize(params) ⇒ Object
6090 6091 6092 6093 6094 6095 |
# File 'lib/v20230517/models.rb', line 6090 def deserialize(params) @X = params['X'] @Y = params['Y'] @Width = params['Width'] @Height = params['Height'] end |