Class: TencentCloud::Facefusion::V20181201::FaceRect
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Facefusion::V20181201::FaceRect
- Defined in:
- lib/v20181201/models.rb
Overview
人脸框信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(x = nil, y = nil, width = nil, height = nil) ⇒ FaceRect
constructor
A new instance of FaceRect.
Constructor Details
#initialize(x = nil, y = nil, width = nil, height = nil) ⇒ FaceRect
Returns a new instance of FaceRect.
199 200 201 202 203 204 |
# File 'lib/v20181201/models.rb', line 199 def initialize(x=nil, y=nil, width=nil, height=nil) @X = x @Y = y @Width = width @Height = height end |
Instance Attribute Details
#Height ⇒ Object
197 198 199 |
# File 'lib/v20181201/models.rb', line 197 def Height @Height end |
#Width ⇒ Object
197 198 199 |
# File 'lib/v20181201/models.rb', line 197 def Width @Width end |
#X ⇒ Object
197 198 199 |
# File 'lib/v20181201/models.rb', line 197 def X @X end |
#Y ⇒ Object
197 198 199 |
# File 'lib/v20181201/models.rb', line 197 def Y @Y end |
Instance Method Details
#deserialize(params) ⇒ Object
206 207 208 209 210 211 |
# File 'lib/v20181201/models.rb', line 206 def deserialize(params) @X = params['X'] @Y = params['Y'] @Width = params['Width'] @Height = params['Height'] end |