Class: TencentCloud::Tci::V20190318::FacePoseResult

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

Overview

FacePoseResult

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(direction = nil, pitch = nil, roll = nil, yaw = nil) ⇒ FacePoseResult

Returns a new instance of FacePoseResult.



2098
2099
2100
2101
2102
2103
# File 'lib/v20190318/models.rb', line 2098

def initialize(direction=nil, pitch=nil, roll=nil, yaw=nil)
  @Direction = direction
  @Pitch = pitch
  @Roll = roll
  @Yaw = yaw
end

Instance Attribute Details

#DirectionObject

Parameters:

  • Direction:

    正脸或侧脸的消息

  • Pitch:

    围绕Z轴旋转角度,俯仰角

  • Roll:

    围绕X轴旋转角度,翻滚角

  • Yaw:

    围绕Y轴旋转角度,偏航角



2096
2097
2098
# File 'lib/v20190318/models.rb', line 2096

def Direction
  @Direction
end

#PitchObject

Parameters:

  • Direction:

    正脸或侧脸的消息

  • Pitch:

    围绕Z轴旋转角度,俯仰角

  • Roll:

    围绕X轴旋转角度,翻滚角

  • Yaw:

    围绕Y轴旋转角度,偏航角



2096
2097
2098
# File 'lib/v20190318/models.rb', line 2096

def Pitch
  @Pitch
end

#RollObject

Parameters:

  • Direction:

    正脸或侧脸的消息

  • Pitch:

    围绕Z轴旋转角度,俯仰角

  • Roll:

    围绕X轴旋转角度,翻滚角

  • Yaw:

    围绕Y轴旋转角度,偏航角



2096
2097
2098
# File 'lib/v20190318/models.rb', line 2096

def Roll
  @Roll
end

#YawObject

Parameters:

  • Direction:

    正脸或侧脸的消息

  • Pitch:

    围绕Z轴旋转角度,俯仰角

  • Roll:

    围绕X轴旋转角度,翻滚角

  • Yaw:

    围绕Y轴旋转角度,偏航角



2096
2097
2098
# File 'lib/v20190318/models.rb', line 2096

def Yaw
  @Yaw
end

Instance Method Details

#deserialize(params) ⇒ Object



2105
2106
2107
2108
2109
2110
# File 'lib/v20190318/models.rb', line 2105

def deserialize(params)
  @Direction = params['Direction']
  @Pitch = params['Pitch']
  @Roll = params['Roll']
  @Yaw = params['Yaw']
end