You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Rekognition::Types::Landmark

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Indicates the location of the landmark on the face.

Instance Attribute Summary collapse

Instance Attribute Details

#typeString

Type of landmark.

Possible values:

  • eyeLeft
  • eyeRight
  • nose
  • mouthLeft
  • mouthRight
  • leftEyeBrowLeft
  • leftEyeBrowRight
  • leftEyeBrowUp
  • rightEyeBrowLeft
  • rightEyeBrowRight
  • rightEyeBrowUp
  • leftEyeLeft
  • leftEyeRight
  • leftEyeUp
  • leftEyeDown
  • rightEyeLeft
  • rightEyeRight
  • rightEyeUp
  • rightEyeDown
  • noseLeft
  • noseRight
  • mouthUp
  • mouthDown
  • leftPupil
  • rightPupil
  • upperJawlineLeft
  • midJawlineLeft
  • chinBottom
  • midJawlineRight
  • upperJawlineRight

Returns:

  • (String)

    Type of landmark.

#xFloat

The x-coordinate from the top left of the landmark expressed as the ratio of the width of the image. For example, if the image is 700 x 200 and the x-coordinate of the landmark is at 350 pixels, this value is 0.5.

Returns:

  • (Float)

    The x-coordinate from the top left of the landmark expressed as the ratio of the width of the image.

#yFloat

The y-coordinate from the top left of the landmark expressed as the ratio of the height of the image. For example, if the image is 700 x 200 and the y-coordinate of the landmark is at 100 pixels, this value is 0.5.

Returns:

  • (Float)

    The y-coordinate from the top left of the landmark expressed as the ratio of the height of the image.