Class: TencentCloud::Bda::V20200324::Orientation

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200324/models.rb

Overview

人体朝向信息。AttributesType 不含 Orientation 或检测超过 5 个人体时,此参数仍返回,但不具备参考意义。

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ProbabilityObject

Parameters:

  • Type:

    人体朝向信息,返回值为以下集合中的一个 背向, 左, 右。

  • Probability:

    Type识别概率值,,代表判断正确的概率。如0.8则代表有Type值有80%概率正确。



1239
1240
1241
# File 'lib/v20200324/models.rb', line 1239

def Probability
  @Probability
end

#TypeObject

Parameters:

  • Type:

    人体朝向信息,返回值为以下集合中的一个 背向, 左, 右。

  • Probability:

    Type识别概率值,,代表判断正确的概率。如0.8则代表有Type值有80%概率正确。



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