Class: TencentCloud::Bda::V20200324::Orientation
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bda::V20200324::Orientation
- Defined in:
- lib/v20200324/models.rb
Overview
人体朝向信息。AttributesType 不含 Orientation 或检测超过 5 个人体时,此参数仍返回,但不具备参考意义。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, probability = nil) ⇒ Orientation
constructor
A new instance of Orientation.
Constructor Details
#initialize(type = nil, probability = nil) ⇒ Orientation
Returns a new instance of Orientation.
1241 1242 1243 1244 |
# File 'lib/v20200324/models.rb', line 1241 def initialize(type=nil, probability=nil) @Type = type @Probability = probability end |
Instance Attribute Details
#Probability ⇒ Object
1239 1240 1241 |
# File 'lib/v20200324/models.rb', line 1239 def Probability @Probability end |
#Type ⇒ Object
1239 1240 1241 |
# File 'lib/v20200324/models.rb', line 1239 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
1246 1247 1248 1249 |
# File 'lib/v20200324/models.rb', line 1246 def deserialize(params) @Type = params['Type'] @Probability = params['Probability'] end |