Class: Aws::Rekognition::Types::Landmark
- Inherits:
-
Struct
- Object
- Struct
- Aws::Rekognition::Types::Landmark
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-rekognition/types.rb
Overview
Indicates the location of the landmark on the face.
Instance Attribute Summary collapse
-
#type ⇒ String
Type of the landmark.
-
#x ⇒ Float
x-coordinate from the top left of the landmark expressed as the ratio of the width of the image.
-
#y ⇒ Float
y-coordinate from the top left of the landmark expressed as the ratio of the height of the image.
Instance Attribute Details
#type ⇒ String
Type of the landmark.
1036 1037 1038 1039 1040 1041 |
# File 'lib/aws-sdk-rekognition/types.rb', line 1036 class Landmark < Struct.new( :type, :x, :y) include Aws::Structure end |
#x ⇒ Float
x-coordinate from the top left of the landmark expressed as the ratio of the width of the image. For example, if the images is 700x200 and the x-coordinate of the landmark is at 350 pixels, this value is 0.5.
1036 1037 1038 1039 1040 1041 |
# File 'lib/aws-sdk-rekognition/types.rb', line 1036 class Landmark < Struct.new( :type, :x, :y) include Aws::Structure end |
#y ⇒ Float
y-coordinate from the top left of the landmark expressed as the ratio of the height of the image. For example, if the images is 700x200 and the y-coordinate of the landmark is at 100 pixels, this value is 0.5.
1036 1037 1038 1039 1040 1041 |
# File 'lib/aws-sdk-rekognition/types.rb', line 1036 class Landmark < Struct.new( :type, :x, :y) include Aws::Structure end |