Class: TencentCloud::Facefusion::V20220927::FaceInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Facefusion::V20220927::FaceInfo
- Defined in:
- lib/v20220927/models.rb
Overview
人脸信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(x = nil, y = nil, width = nil, height = nil) ⇒ FaceInfo
constructor
A new instance of FaceInfo.
Constructor Details
#initialize(x = nil, y = nil, width = nil, height = nil) ⇒ FaceInfo
Returns a new instance of FaceInfo.
93 94 95 96 97 98 |
# File 'lib/v20220927/models.rb', line 93 def initialize(x=nil, y=nil, width=nil, height=nil) @X = x @Y = y @Width = width @Height = height end |
Instance Attribute Details
#Height ⇒ Object
91 92 93 |
# File 'lib/v20220927/models.rb', line 91 def Height @Height end |
#Width ⇒ Object
91 92 93 |
# File 'lib/v20220927/models.rb', line 91 def Width @Width end |
#X ⇒ Object
91 92 93 |
# File 'lib/v20220927/models.rb', line 91 def X @X end |
#Y ⇒ Object
91 92 93 |
# File 'lib/v20220927/models.rb', line 91 def Y @Y end |
Instance Method Details
#deserialize(params) ⇒ Object
100 101 102 103 104 105 |
# File 'lib/v20220927/models.rb', line 100 def deserialize(params) @X = params['X'] @Y = params['Y'] @Width = params['Width'] @Height = params['Height'] end |