Class: TencentCloud::Iai::V20200303::DenseFaceShape

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

Overview

稠密关键点详细信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(x = nil, y = nil, width = nil, height = nil, lefteye = nil, righteye = nil, lefteyebrow = nil, righteyebrow = nil, mouthoutside = nil, mouthinside = nil, nose = nil, leftpupil = nil, rightpupil = nil, centralaxis = nil, chin = nil, lefteyebags = nil, righteyebags = nil, forehead = nil) ⇒ DenseFaceShape

Returns a new instance of DenseFaceShape.



1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
# File 'lib/v20200303/models.rb', line 1018

def initialize(x=nil, y=nil, width=nil, height=nil, lefteye=nil, righteye=nil, lefteyebrow=nil, righteyebrow=nil, mouthoutside=nil, mouthinside=nil, nose=nil, leftpupil=nil, rightpupil=nil, centralaxis=nil, chin=nil, lefteyebags=nil, righteyebags=nil, forehead=nil)
  @X = x
  @Y = y
  @Width = width
  @Height = height
  @LeftEye = lefteye
  @RightEye = righteye
  @LeftEyeBrow = lefteyebrow
  @RightEyeBrow = righteyebrow
  @MouthOutside = mouthoutside
  @MouthInside = mouthinside
  @Nose = nose
  @LeftPupil = leftpupil
  @RightPupil = rightpupil
  @CentralAxis = centralaxis
  @Chin = chin
  @LeftEyeBags = lefteyebags
  @RightEyeBags = righteyebags
  @Forehead = forehead
end

Instance Attribute Details

#CentralAxisObject

Parameters:

  • X:

    人脸框左上角横坐标。

  • Y:

    人脸框左上角纵坐标。

  • Width:

    人脸框宽度。

  • Height:

    人脸框高度。

  • LeftEye:

    描述左侧眼睛轮廓的 XX 点。

  • RightEye:

    描述右侧眼睛轮廓的 XX 点。

  • LeftEyeBrow:

    描述左侧眉毛轮廓的 XX 点。

  • RightEyeBrow:

    描述右侧眉毛轮廓的 XX 点。

  • MouthOutside:

    描述外嘴巴轮廓的 XX 点, 从左侧开始逆时针返回。

  • MouthInside:

    描述内嘴巴轮廓的 XX 点,从左侧开始逆时针返回。

  • Nose:

    描述鼻子轮廓的 XX 点。

  • LeftPupil:

    左瞳孔轮廓的 XX 个点。

  • RightPupil:

    右瞳孔轮廓的 XX 个点。

  • CentralAxis:

    中轴线轮廓的 XX 个点。

  • Chin:

    下巴轮廓的 XX 个点。

  • LeftEyeBags:

    左眼袋的 XX 个点。

  • RightEyeBags:

    右眼袋的 XX 个点。

  • Forehead:

    额头的 XX 个点。



1016
1017
1018
# File 'lib/v20200303/models.rb', line 1016

def CentralAxis
  @CentralAxis
end

#ChinObject

Parameters:

  • X:

    人脸框左上角横坐标。

  • Y:

    人脸框左上角纵坐标。

  • Width:

    人脸框宽度。

  • Height:

    人脸框高度。

  • LeftEye:

    描述左侧眼睛轮廓的 XX 点。

  • RightEye:

    描述右侧眼睛轮廓的 XX 点。

  • LeftEyeBrow:

    描述左侧眉毛轮廓的 XX 点。

  • RightEyeBrow:

    描述右侧眉毛轮廓的 XX 点。

  • MouthOutside:

    描述外嘴巴轮廓的 XX 点, 从左侧开始逆时针返回。

  • MouthInside:

    描述内嘴巴轮廓的 XX 点,从左侧开始逆时针返回。

  • Nose:

    描述鼻子轮廓的 XX 点。

  • LeftPupil:

    左瞳孔轮廓的 XX 个点。

  • RightPupil:

    右瞳孔轮廓的 XX 个点。

  • CentralAxis:

    中轴线轮廓的 XX 个点。

  • Chin:

    下巴轮廓的 XX 个点。

  • LeftEyeBags:

    左眼袋的 XX 个点。

  • RightEyeBags:

    右眼袋的 XX 个点。

  • Forehead:

    额头的 XX 个点。



1016
1017
1018
# File 'lib/v20200303/models.rb', line 1016

def Chin
  @Chin
end

#ForeheadObject

Parameters:

  • X:

    人脸框左上角横坐标。

  • Y:

    人脸框左上角纵坐标。

  • Width:

    人脸框宽度。

  • Height:

    人脸框高度。

  • LeftEye:

    描述左侧眼睛轮廓的 XX 点。

  • RightEye:

    描述右侧眼睛轮廓的 XX 点。

  • LeftEyeBrow:

    描述左侧眉毛轮廓的 XX 点。

  • RightEyeBrow:

    描述右侧眉毛轮廓的 XX 点。

  • MouthOutside:

    描述外嘴巴轮廓的 XX 点, 从左侧开始逆时针返回。

  • MouthInside:

    描述内嘴巴轮廓的 XX 点,从左侧开始逆时针返回。

  • Nose:

    描述鼻子轮廓的 XX 点。

  • LeftPupil:

    左瞳孔轮廓的 XX 个点。

  • RightPupil:

    右瞳孔轮廓的 XX 个点。

  • CentralAxis:

    中轴线轮廓的 XX 个点。

  • Chin:

    下巴轮廓的 XX 个点。

  • LeftEyeBags:

    左眼袋的 XX 个点。

  • RightEyeBags:

    右眼袋的 XX 个点。

  • Forehead:

    额头的 XX 个点。



1016
1017
1018
# File 'lib/v20200303/models.rb', line 1016

def Forehead
  @Forehead
end

#HeightObject

Parameters:

  • X:

    人脸框左上角横坐标。

  • Y:

    人脸框左上角纵坐标。

  • Width:

    人脸框宽度。

  • Height:

    人脸框高度。

  • LeftEye:

    描述左侧眼睛轮廓的 XX 点。

  • RightEye:

    描述右侧眼睛轮廓的 XX 点。

  • LeftEyeBrow:

    描述左侧眉毛轮廓的 XX 点。

  • RightEyeBrow:

    描述右侧眉毛轮廓的 XX 点。

  • MouthOutside:

    描述外嘴巴轮廓的 XX 点, 从左侧开始逆时针返回。

  • MouthInside:

    描述内嘴巴轮廓的 XX 点,从左侧开始逆时针返回。

  • Nose:

    描述鼻子轮廓的 XX 点。

  • LeftPupil:

    左瞳孔轮廓的 XX 个点。

  • RightPupil:

    右瞳孔轮廓的 XX 个点。

  • CentralAxis:

    中轴线轮廓的 XX 个点。

  • Chin:

    下巴轮廓的 XX 个点。

  • LeftEyeBags:

    左眼袋的 XX 个点。

  • RightEyeBags:

    右眼袋的 XX 个点。

  • Forehead:

    额头的 XX 个点。



1016
1017
1018
# File 'lib/v20200303/models.rb', line 1016

def Height
  @Height
end

#LeftEyeObject

Parameters:

  • X:

    人脸框左上角横坐标。

  • Y:

    人脸框左上角纵坐标。

  • Width:

    人脸框宽度。

  • Height:

    人脸框高度。

  • LeftEye:

    描述左侧眼睛轮廓的 XX 点。

  • RightEye:

    描述右侧眼睛轮廓的 XX 点。

  • LeftEyeBrow:

    描述左侧眉毛轮廓的 XX 点。

  • RightEyeBrow:

    描述右侧眉毛轮廓的 XX 点。

  • MouthOutside:

    描述外嘴巴轮廓的 XX 点, 从左侧开始逆时针返回。

  • MouthInside:

    描述内嘴巴轮廓的 XX 点,从左侧开始逆时针返回。

  • Nose:

    描述鼻子轮廓的 XX 点。

  • LeftPupil:

    左瞳孔轮廓的 XX 个点。

  • RightPupil:

    右瞳孔轮廓的 XX 个点。

  • CentralAxis:

    中轴线轮廓的 XX 个点。

  • Chin:

    下巴轮廓的 XX 个点。

  • LeftEyeBags:

    左眼袋的 XX 个点。

  • RightEyeBags:

    右眼袋的 XX 个点。

  • Forehead:

    额头的 XX 个点。



1016
1017
1018
# File 'lib/v20200303/models.rb', line 1016

def LeftEye
  @LeftEye
end

#LeftEyeBagsObject

Parameters:

  • X:

    人脸框左上角横坐标。

  • Y:

    人脸框左上角纵坐标。

  • Width:

    人脸框宽度。

  • Height:

    人脸框高度。

  • LeftEye:

    描述左侧眼睛轮廓的 XX 点。

  • RightEye:

    描述右侧眼睛轮廓的 XX 点。

  • LeftEyeBrow:

    描述左侧眉毛轮廓的 XX 点。

  • RightEyeBrow:

    描述右侧眉毛轮廓的 XX 点。

  • MouthOutside:

    描述外嘴巴轮廓的 XX 点, 从左侧开始逆时针返回。

  • MouthInside:

    描述内嘴巴轮廓的 XX 点,从左侧开始逆时针返回。

  • Nose:

    描述鼻子轮廓的 XX 点。

  • LeftPupil:

    左瞳孔轮廓的 XX 个点。

  • RightPupil:

    右瞳孔轮廓的 XX 个点。

  • CentralAxis:

    中轴线轮廓的 XX 个点。

  • Chin:

    下巴轮廓的 XX 个点。

  • LeftEyeBags:

    左眼袋的 XX 个点。

  • RightEyeBags:

    右眼袋的 XX 个点。

  • Forehead:

    额头的 XX 个点。



1016
1017
1018
# File 'lib/v20200303/models.rb', line 1016

def LeftEyeBags
  @LeftEyeBags
end

#LeftEyeBrowObject

Parameters:

  • X:

    人脸框左上角横坐标。

  • Y:

    人脸框左上角纵坐标。

  • Width:

    人脸框宽度。

  • Height:

    人脸框高度。

  • LeftEye:

    描述左侧眼睛轮廓的 XX 点。

  • RightEye:

    描述右侧眼睛轮廓的 XX 点。

  • LeftEyeBrow:

    描述左侧眉毛轮廓的 XX 点。

  • RightEyeBrow:

    描述右侧眉毛轮廓的 XX 点。

  • MouthOutside:

    描述外嘴巴轮廓的 XX 点, 从左侧开始逆时针返回。

  • MouthInside:

    描述内嘴巴轮廓的 XX 点,从左侧开始逆时针返回。

  • Nose:

    描述鼻子轮廓的 XX 点。

  • LeftPupil:

    左瞳孔轮廓的 XX 个点。

  • RightPupil:

    右瞳孔轮廓的 XX 个点。

  • CentralAxis:

    中轴线轮廓的 XX 个点。

  • Chin:

    下巴轮廓的 XX 个点。

  • LeftEyeBags:

    左眼袋的 XX 个点。

  • RightEyeBags:

    右眼袋的 XX 个点。

  • Forehead:

    额头的 XX 个点。



1016
1017
1018
# File 'lib/v20200303/models.rb', line 1016

def LeftEyeBrow
  @LeftEyeBrow
end

#LeftPupilObject

Parameters:

  • X:

    人脸框左上角横坐标。

  • Y:

    人脸框左上角纵坐标。

  • Width:

    人脸框宽度。

  • Height:

    人脸框高度。

  • LeftEye:

    描述左侧眼睛轮廓的 XX 点。

  • RightEye:

    描述右侧眼睛轮廓的 XX 点。

  • LeftEyeBrow:

    描述左侧眉毛轮廓的 XX 点。

  • RightEyeBrow:

    描述右侧眉毛轮廓的 XX 点。

  • MouthOutside:

    描述外嘴巴轮廓的 XX 点, 从左侧开始逆时针返回。

  • MouthInside:

    描述内嘴巴轮廓的 XX 点,从左侧开始逆时针返回。

  • Nose:

    描述鼻子轮廓的 XX 点。

  • LeftPupil:

    左瞳孔轮廓的 XX 个点。

  • RightPupil:

    右瞳孔轮廓的 XX 个点。

  • CentralAxis:

    中轴线轮廓的 XX 个点。

  • Chin:

    下巴轮廓的 XX 个点。

  • LeftEyeBags:

    左眼袋的 XX 个点。

  • RightEyeBags:

    右眼袋的 XX 个点。

  • Forehead:

    额头的 XX 个点。



1016
1017
1018
# File 'lib/v20200303/models.rb', line 1016

def LeftPupil
  @LeftPupil
end

#MouthInsideObject

Parameters:

  • X:

    人脸框左上角横坐标。

  • Y:

    人脸框左上角纵坐标。

  • Width:

    人脸框宽度。

  • Height:

    人脸框高度。

  • LeftEye:

    描述左侧眼睛轮廓的 XX 点。

  • RightEye:

    描述右侧眼睛轮廓的 XX 点。

  • LeftEyeBrow:

    描述左侧眉毛轮廓的 XX 点。

  • RightEyeBrow:

    描述右侧眉毛轮廓的 XX 点。

  • MouthOutside:

    描述外嘴巴轮廓的 XX 点, 从左侧开始逆时针返回。

  • MouthInside:

    描述内嘴巴轮廓的 XX 点,从左侧开始逆时针返回。

  • Nose:

    描述鼻子轮廓的 XX 点。

  • LeftPupil:

    左瞳孔轮廓的 XX 个点。

  • RightPupil:

    右瞳孔轮廓的 XX 个点。

  • CentralAxis:

    中轴线轮廓的 XX 个点。

  • Chin:

    下巴轮廓的 XX 个点。

  • LeftEyeBags:

    左眼袋的 XX 个点。

  • RightEyeBags:

    右眼袋的 XX 个点。

  • Forehead:

    额头的 XX 个点。



1016
1017
1018
# File 'lib/v20200303/models.rb', line 1016

def MouthInside
  @MouthInside
end

#MouthOutsideObject

Parameters:

  • X:

    人脸框左上角横坐标。

  • Y:

    人脸框左上角纵坐标。

  • Width:

    人脸框宽度。

  • Height:

    人脸框高度。

  • LeftEye:

    描述左侧眼睛轮廓的 XX 点。

  • RightEye:

    描述右侧眼睛轮廓的 XX 点。

  • LeftEyeBrow:

    描述左侧眉毛轮廓的 XX 点。

  • RightEyeBrow:

    描述右侧眉毛轮廓的 XX 点。

  • MouthOutside:

    描述外嘴巴轮廓的 XX 点, 从左侧开始逆时针返回。

  • MouthInside:

    描述内嘴巴轮廓的 XX 点,从左侧开始逆时针返回。

  • Nose:

    描述鼻子轮廓的 XX 点。

  • LeftPupil:

    左瞳孔轮廓的 XX 个点。

  • RightPupil:

    右瞳孔轮廓的 XX 个点。

  • CentralAxis:

    中轴线轮廓的 XX 个点。

  • Chin:

    下巴轮廓的 XX 个点。

  • LeftEyeBags:

    左眼袋的 XX 个点。

  • RightEyeBags:

    右眼袋的 XX 个点。

  • Forehead:

    额头的 XX 个点。



1016
1017
1018
# File 'lib/v20200303/models.rb', line 1016

def MouthOutside
  @MouthOutside
end

#NoseObject

Parameters:

  • X:

    人脸框左上角横坐标。

  • Y:

    人脸框左上角纵坐标。

  • Width:

    人脸框宽度。

  • Height:

    人脸框高度。

  • LeftEye:

    描述左侧眼睛轮廓的 XX 点。

  • RightEye:

    描述右侧眼睛轮廓的 XX 点。

  • LeftEyeBrow:

    描述左侧眉毛轮廓的 XX 点。

  • RightEyeBrow:

    描述右侧眉毛轮廓的 XX 点。

  • MouthOutside:

    描述外嘴巴轮廓的 XX 点, 从左侧开始逆时针返回。

  • MouthInside:

    描述内嘴巴轮廓的 XX 点,从左侧开始逆时针返回。

  • Nose:

    描述鼻子轮廓的 XX 点。

  • LeftPupil:

    左瞳孔轮廓的 XX 个点。

  • RightPupil:

    右瞳孔轮廓的 XX 个点。

  • CentralAxis:

    中轴线轮廓的 XX 个点。

  • Chin:

    下巴轮廓的 XX 个点。

  • LeftEyeBags:

    左眼袋的 XX 个点。

  • RightEyeBags:

    右眼袋的 XX 个点。

  • Forehead:

    额头的 XX 个点。



1016
1017
1018
# File 'lib/v20200303/models.rb', line 1016

def Nose
  @Nose
end

#RightEyeObject

Parameters:

  • X:

    人脸框左上角横坐标。

  • Y:

    人脸框左上角纵坐标。

  • Width:

    人脸框宽度。

  • Height:

    人脸框高度。

  • LeftEye:

    描述左侧眼睛轮廓的 XX 点。

  • RightEye:

    描述右侧眼睛轮廓的 XX 点。

  • LeftEyeBrow:

    描述左侧眉毛轮廓的 XX 点。

  • RightEyeBrow:

    描述右侧眉毛轮廓的 XX 点。

  • MouthOutside:

    描述外嘴巴轮廓的 XX 点, 从左侧开始逆时针返回。

  • MouthInside:

    描述内嘴巴轮廓的 XX 点,从左侧开始逆时针返回。

  • Nose:

    描述鼻子轮廓的 XX 点。

  • LeftPupil:

    左瞳孔轮廓的 XX 个点。

  • RightPupil:

    右瞳孔轮廓的 XX 个点。

  • CentralAxis:

    中轴线轮廓的 XX 个点。

  • Chin:

    下巴轮廓的 XX 个点。

  • LeftEyeBags:

    左眼袋的 XX 个点。

  • RightEyeBags:

    右眼袋的 XX 个点。

  • Forehead:

    额头的 XX 个点。



1016
1017
1018
# File 'lib/v20200303/models.rb', line 1016

def RightEye
  @RightEye
end

#RightEyeBagsObject

Parameters:

  • X:

    人脸框左上角横坐标。

  • Y:

    人脸框左上角纵坐标。

  • Width:

    人脸框宽度。

  • Height:

    人脸框高度。

  • LeftEye:

    描述左侧眼睛轮廓的 XX 点。

  • RightEye:

    描述右侧眼睛轮廓的 XX 点。

  • LeftEyeBrow:

    描述左侧眉毛轮廓的 XX 点。

  • RightEyeBrow:

    描述右侧眉毛轮廓的 XX 点。

  • MouthOutside:

    描述外嘴巴轮廓的 XX 点, 从左侧开始逆时针返回。

  • MouthInside:

    描述内嘴巴轮廓的 XX 点,从左侧开始逆时针返回。

  • Nose:

    描述鼻子轮廓的 XX 点。

  • LeftPupil:

    左瞳孔轮廓的 XX 个点。

  • RightPupil:

    右瞳孔轮廓的 XX 个点。

  • CentralAxis:

    中轴线轮廓的 XX 个点。

  • Chin:

    下巴轮廓的 XX 个点。

  • LeftEyeBags:

    左眼袋的 XX 个点。

  • RightEyeBags:

    右眼袋的 XX 个点。

  • Forehead:

    额头的 XX 个点。



1016
1017
1018
# File 'lib/v20200303/models.rb', line 1016

def RightEyeBags
  @RightEyeBags
end

#RightEyeBrowObject

Parameters:

  • X:

    人脸框左上角横坐标。

  • Y:

    人脸框左上角纵坐标。

  • Width:

    人脸框宽度。

  • Height:

    人脸框高度。

  • LeftEye:

    描述左侧眼睛轮廓的 XX 点。

  • RightEye:

    描述右侧眼睛轮廓的 XX 点。

  • LeftEyeBrow:

    描述左侧眉毛轮廓的 XX 点。

  • RightEyeBrow:

    描述右侧眉毛轮廓的 XX 点。

  • MouthOutside:

    描述外嘴巴轮廓的 XX 点, 从左侧开始逆时针返回。

  • MouthInside:

    描述内嘴巴轮廓的 XX 点,从左侧开始逆时针返回。

  • Nose:

    描述鼻子轮廓的 XX 点。

  • LeftPupil:

    左瞳孔轮廓的 XX 个点。

  • RightPupil:

    右瞳孔轮廓的 XX 个点。

  • CentralAxis:

    中轴线轮廓的 XX 个点。

  • Chin:

    下巴轮廓的 XX 个点。

  • LeftEyeBags:

    左眼袋的 XX 个点。

  • RightEyeBags:

    右眼袋的 XX 个点。

  • Forehead:

    额头的 XX 个点。



1016
1017
1018
# File 'lib/v20200303/models.rb', line 1016

def RightEyeBrow
  @RightEyeBrow
end

#RightPupilObject

Parameters:

  • X:

    人脸框左上角横坐标。

  • Y:

    人脸框左上角纵坐标。

  • Width:

    人脸框宽度。

  • Height:

    人脸框高度。

  • LeftEye:

    描述左侧眼睛轮廓的 XX 点。

  • RightEye:

    描述右侧眼睛轮廓的 XX 点。

  • LeftEyeBrow:

    描述左侧眉毛轮廓的 XX 点。

  • RightEyeBrow:

    描述右侧眉毛轮廓的 XX 点。

  • MouthOutside:

    描述外嘴巴轮廓的 XX 点, 从左侧开始逆时针返回。

  • MouthInside:

    描述内嘴巴轮廓的 XX 点,从左侧开始逆时针返回。

  • Nose:

    描述鼻子轮廓的 XX 点。

  • LeftPupil:

    左瞳孔轮廓的 XX 个点。

  • RightPupil:

    右瞳孔轮廓的 XX 个点。

  • CentralAxis:

    中轴线轮廓的 XX 个点。

  • Chin:

    下巴轮廓的 XX 个点。

  • LeftEyeBags:

    左眼袋的 XX 个点。

  • RightEyeBags:

    右眼袋的 XX 个点。

  • Forehead:

    额头的 XX 个点。



1016
1017
1018
# File 'lib/v20200303/models.rb', line 1016

def RightPupil
  @RightPupil
end

#WidthObject

Parameters:

  • X:

    人脸框左上角横坐标。

  • Y:

    人脸框左上角纵坐标。

  • Width:

    人脸框宽度。

  • Height:

    人脸框高度。

  • LeftEye:

    描述左侧眼睛轮廓的 XX 点。

  • RightEye:

    描述右侧眼睛轮廓的 XX 点。

  • LeftEyeBrow:

    描述左侧眉毛轮廓的 XX 点。

  • RightEyeBrow:

    描述右侧眉毛轮廓的 XX 点。

  • MouthOutside:

    描述外嘴巴轮廓的 XX 点, 从左侧开始逆时针返回。

  • MouthInside:

    描述内嘴巴轮廓的 XX 点,从左侧开始逆时针返回。

  • Nose:

    描述鼻子轮廓的 XX 点。

  • LeftPupil:

    左瞳孔轮廓的 XX 个点。

  • RightPupil:

    右瞳孔轮廓的 XX 个点。

  • CentralAxis:

    中轴线轮廓的 XX 个点。

  • Chin:

    下巴轮廓的 XX 个点。

  • LeftEyeBags:

    左眼袋的 XX 个点。

  • RightEyeBags:

    右眼袋的 XX 个点。

  • Forehead:

    额头的 XX 个点。



1016
1017
1018
# File 'lib/v20200303/models.rb', line 1016

def Width
  @Width
end

#XObject

Parameters:

  • X:

    人脸框左上角横坐标。

  • Y:

    人脸框左上角纵坐标。

  • Width:

    人脸框宽度。

  • Height:

    人脸框高度。

  • LeftEye:

    描述左侧眼睛轮廓的 XX 点。

  • RightEye:

    描述右侧眼睛轮廓的 XX 点。

  • LeftEyeBrow:

    描述左侧眉毛轮廓的 XX 点。

  • RightEyeBrow:

    描述右侧眉毛轮廓的 XX 点。

  • MouthOutside:

    描述外嘴巴轮廓的 XX 点, 从左侧开始逆时针返回。

  • MouthInside:

    描述内嘴巴轮廓的 XX 点,从左侧开始逆时针返回。

  • Nose:

    描述鼻子轮廓的 XX 点。

  • LeftPupil:

    左瞳孔轮廓的 XX 个点。

  • RightPupil:

    右瞳孔轮廓的 XX 个点。

  • CentralAxis:

    中轴线轮廓的 XX 个点。

  • Chin:

    下巴轮廓的 XX 个点。

  • LeftEyeBags:

    左眼袋的 XX 个点。

  • RightEyeBags:

    右眼袋的 XX 个点。

  • Forehead:

    额头的 XX 个点。



1016
1017
1018
# File 'lib/v20200303/models.rb', line 1016

def X
  @X
end

#YObject

Parameters:

  • X:

    人脸框左上角横坐标。

  • Y:

    人脸框左上角纵坐标。

  • Width:

    人脸框宽度。

  • Height:

    人脸框高度。

  • LeftEye:

    描述左侧眼睛轮廓的 XX 点。

  • RightEye:

    描述右侧眼睛轮廓的 XX 点。

  • LeftEyeBrow:

    描述左侧眉毛轮廓的 XX 点。

  • RightEyeBrow:

    描述右侧眉毛轮廓的 XX 点。

  • MouthOutside:

    描述外嘴巴轮廓的 XX 点, 从左侧开始逆时针返回。

  • MouthInside:

    描述内嘴巴轮廓的 XX 点,从左侧开始逆时针返回。

  • Nose:

    描述鼻子轮廓的 XX 点。

  • LeftPupil:

    左瞳孔轮廓的 XX 个点。

  • RightPupil:

    右瞳孔轮廓的 XX 个点。

  • CentralAxis:

    中轴线轮廓的 XX 个点。

  • Chin:

    下巴轮廓的 XX 个点。

  • LeftEyeBags:

    左眼袋的 XX 个点。

  • RightEyeBags:

    右眼袋的 XX 个点。

  • Forehead:

    额头的 XX 个点。



1016
1017
1018
# File 'lib/v20200303/models.rb', line 1016

def Y
  @Y
end

Instance Method Details

#deserialize(params) ⇒ Object



1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
# File 'lib/v20200303/models.rb', line 1039

def deserialize(params)
  @X = params['X']
  @Y = params['Y']
  @Width = params['Width']
  @Height = params['Height']
  unless params['LeftEye'].nil?
    @LeftEye = []
    params['LeftEye'].each do |i|
      point_tmp = Point.new
      point_tmp.deserialize(i)
      @LeftEye << point_tmp
    end
  end
  unless params['RightEye'].nil?
    @RightEye = []
    params['RightEye'].each do |i|
      point_tmp = Point.new
      point_tmp.deserialize(i)
      @RightEye << point_tmp
    end
  end
  unless params['LeftEyeBrow'].nil?
    @LeftEyeBrow = []
    params['LeftEyeBrow'].each do |i|
      point_tmp = Point.new
      point_tmp.deserialize(i)
      @LeftEyeBrow << point_tmp
    end
  end
  unless params['RightEyeBrow'].nil?
    @RightEyeBrow = []
    params['RightEyeBrow'].each do |i|
      point_tmp = Point.new
      point_tmp.deserialize(i)
      @RightEyeBrow << point_tmp
    end
  end
  unless params['MouthOutside'].nil?
    @MouthOutside = []
    params['MouthOutside'].each do |i|
      point_tmp = Point.new
      point_tmp.deserialize(i)
      @MouthOutside << point_tmp
    end
  end
  unless params['MouthInside'].nil?
    @MouthInside = []
    params['MouthInside'].each do |i|
      point_tmp = Point.new
      point_tmp.deserialize(i)
      @MouthInside << point_tmp
    end
  end
  unless params['Nose'].nil?
    @Nose = []
    params['Nose'].each do |i|
      point_tmp = Point.new
      point_tmp.deserialize(i)
      @Nose << point_tmp
    end
  end
  unless params['LeftPupil'].nil?
    @LeftPupil = []
    params['LeftPupil'].each do |i|
      point_tmp = Point.new
      point_tmp.deserialize(i)
      @LeftPupil << point_tmp
    end
  end
  unless params['RightPupil'].nil?
    @RightPupil = []
    params['RightPupil'].each do |i|
      point_tmp = Point.new
      point_tmp.deserialize(i)
      @RightPupil << point_tmp
    end
  end
  unless params['CentralAxis'].nil?
    @CentralAxis = []
    params['CentralAxis'].each do |i|
      point_tmp = Point.new
      point_tmp.deserialize(i)
      @CentralAxis << point_tmp
    end
  end
  unless params['Chin'].nil?
    @Chin = []
    params['Chin'].each do |i|
      point_tmp = Point.new
      point_tmp.deserialize(i)
      @Chin << point_tmp
    end
  end
  unless params['LeftEyeBags'].nil?
    @LeftEyeBags = []
    params['LeftEyeBags'].each do |i|
      point_tmp = Point.new
      point_tmp.deserialize(i)
      @LeftEyeBags << point_tmp
    end
  end
  unless params['RightEyeBags'].nil?
    @RightEyeBags = []
    params['RightEyeBags'].each do |i|
      point_tmp = Point.new
      point_tmp.deserialize(i)
      @RightEyeBags << point_tmp
    end
  end
  unless params['Forehead'].nil?
    @Forehead = []
    params['Forehead'].each do |i|
      point_tmp = Point.new
      point_tmp.deserialize(i)
      @Forehead << point_tmp
    end
  end
end