Class: TencentCloud::Iai::V20180301::DenseFaceShape

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180301/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.



879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
# File 'lib/v20180301/models.rb', line 879

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 个点。



877
878
879
# File 'lib/v20180301/models.rb', line 877

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 个点。



877
878
879
# File 'lib/v20180301/models.rb', line 877

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 个点。



877
878
879
# File 'lib/v20180301/models.rb', line 877

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 个点。



877
878
879
# File 'lib/v20180301/models.rb', line 877

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 个点。



877
878
879
# File 'lib/v20180301/models.rb', line 877

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 个点。



877
878
879
# File 'lib/v20180301/models.rb', line 877

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 个点。



877
878
879
# File 'lib/v20180301/models.rb', line 877

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 个点。



877
878
879
# File 'lib/v20180301/models.rb', line 877

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 个点。



877
878
879
# File 'lib/v20180301/models.rb', line 877

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 个点。



877
878
879
# File 'lib/v20180301/models.rb', line 877

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 个点。



877
878
879
# File 'lib/v20180301/models.rb', line 877

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 个点。



877
878
879
# File 'lib/v20180301/models.rb', line 877

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 个点。



877
878
879
# File 'lib/v20180301/models.rb', line 877

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 个点。



877
878
879
# File 'lib/v20180301/models.rb', line 877

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 个点。



877
878
879
# File 'lib/v20180301/models.rb', line 877

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 个点。



877
878
879
# File 'lib/v20180301/models.rb', line 877

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 个点。



877
878
879
# File 'lib/v20180301/models.rb', line 877

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 个点。



877
878
879
# File 'lib/v20180301/models.rb', line 877

def Y
  @Y
end

Instance Method Details

#deserialize(params) ⇒ Object



900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
# File 'lib/v20180301/models.rb', line 900

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