Class: TencentCloud::Tci::V20190318::FaceInfoResult

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

Overview

FaceInfoResult

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(faceratio = nil, frameheight = nil, framewidth = nil, height = nil, left = nil, top = nil, width = nil) ⇒ FaceInfoResult

Returns a new instance of FaceInfoResult.



2064
2065
2066
2067
2068
2069
2070
2071
2072
# File 'lib/v20190318/models.rb', line 2064

def initialize(faceratio=nil, frameheight=nil, framewidth=nil, height=nil, left=nil, top=nil, width=nil)
  @FaceRatio = faceratio
  @FrameHeight = frameheight
  @FrameWidth = framewidth
  @Height = height
  @Left = left
  @Top = top
  @Width = width
end

Instance Attribute Details

#FaceRatioObject

Parameters:

  • FaceRatio:

    人脸尺寸的占比

  • FrameHeight:

    帧高度

  • FrameWidth:

    帧宽度

  • Height:

    人脸高度

  • Left:

    人脸左坐标

  • Top:

    人脸顶坐标

  • Width:

    人脸宽度



2062
2063
2064
# File 'lib/v20190318/models.rb', line 2062

def FaceRatio
  @FaceRatio
end

#FrameHeightObject

Parameters:

  • FaceRatio:

    人脸尺寸的占比

  • FrameHeight:

    帧高度

  • FrameWidth:

    帧宽度

  • Height:

    人脸高度

  • Left:

    人脸左坐标

  • Top:

    人脸顶坐标

  • Width:

    人脸宽度



2062
2063
2064
# File 'lib/v20190318/models.rb', line 2062

def FrameHeight
  @FrameHeight
end

#FrameWidthObject

Parameters:

  • FaceRatio:

    人脸尺寸的占比

  • FrameHeight:

    帧高度

  • FrameWidth:

    帧宽度

  • Height:

    人脸高度

  • Left:

    人脸左坐标

  • Top:

    人脸顶坐标

  • Width:

    人脸宽度



2062
2063
2064
# File 'lib/v20190318/models.rb', line 2062

def FrameWidth
  @FrameWidth
end

#HeightObject

Parameters:

  • FaceRatio:

    人脸尺寸的占比

  • FrameHeight:

    帧高度

  • FrameWidth:

    帧宽度

  • Height:

    人脸高度

  • Left:

    人脸左坐标

  • Top:

    人脸顶坐标

  • Width:

    人脸宽度



2062
2063
2064
# File 'lib/v20190318/models.rb', line 2062

def Height
  @Height
end

#LeftObject

Parameters:

  • FaceRatio:

    人脸尺寸的占比

  • FrameHeight:

    帧高度

  • FrameWidth:

    帧宽度

  • Height:

    人脸高度

  • Left:

    人脸左坐标

  • Top:

    人脸顶坐标

  • Width:

    人脸宽度



2062
2063
2064
# File 'lib/v20190318/models.rb', line 2062

def Left
  @Left
end

#TopObject

Parameters:

  • FaceRatio:

    人脸尺寸的占比

  • FrameHeight:

    帧高度

  • FrameWidth:

    帧宽度

  • Height:

    人脸高度

  • Left:

    人脸左坐标

  • Top:

    人脸顶坐标

  • Width:

    人脸宽度



2062
2063
2064
# File 'lib/v20190318/models.rb', line 2062

def Top
  @Top
end

#WidthObject

Parameters:

  • FaceRatio:

    人脸尺寸的占比

  • FrameHeight:

    帧高度

  • FrameWidth:

    帧宽度

  • Height:

    人脸高度

  • Left:

    人脸左坐标

  • Top:

    人脸顶坐标

  • Width:

    人脸宽度



2062
2063
2064
# File 'lib/v20190318/models.rb', line 2062

def Width
  @Width
end

Instance Method Details

#deserialize(params) ⇒ Object



2074
2075
2076
2077
2078
2079
2080
2081
2082
# File 'lib/v20190318/models.rb', line 2074

def deserialize(params)
  @FaceRatio = params['FaceRatio']
  @FrameHeight = params['FrameHeight']
  @FrameWidth = params['FrameWidth']
  @Height = params['Height']
  @Left = params['Left']
  @Top = params['Top']
  @Width = params['Width']
end