Class: TencentCloud::Bda::V20200324::KeyPointInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bda::V20200324::KeyPointInfo
- Defined in:
- lib/v20200324/models.rb
Overview
人体关键点信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(keypointtype = nil, x = nil, y = nil, bodyscore = nil) ⇒ KeyPointInfo
constructor
A new instance of KeyPointInfo.
Constructor Details
#initialize(keypointtype = nil, x = nil, y = nil, bodyscore = nil) ⇒ KeyPointInfo
Returns a new instance of KeyPointInfo.
1047 1048 1049 1050 1051 1052 |
# File 'lib/v20200324/models.rb', line 1047 def initialize(keypointtype=nil, x=nil, y=nil, bodyscore=nil) @KeyPointType = keypointtype @X = x @Y = y @BodyScore = bodyscore end |
Instance Attribute Details
#BodyScore ⇒ Object
1045 1046 1047 |
# File 'lib/v20200324/models.rb', line 1045 def BodyScore @BodyScore end |
#KeyPointType ⇒ Object
1045 1046 1047 |
# File 'lib/v20200324/models.rb', line 1045 def KeyPointType @KeyPointType end |
#X ⇒ Object
1045 1046 1047 |
# File 'lib/v20200324/models.rb', line 1045 def X @X end |
#Y ⇒ Object
1045 1046 1047 |
# File 'lib/v20200324/models.rb', line 1045 def Y @Y end |
Instance Method Details
#deserialize(params) ⇒ Object
1054 1055 1056 1057 1058 1059 |
# File 'lib/v20200324/models.rb', line 1054 def deserialize(params) @KeyPointType = params['KeyPointType'] @X = params['X'] @Y = params['Y'] @BodyScore = params['BodyScore'] end |