Class: Aws::Rekognition::Types::Landmark
- Inherits:
-
Struct
- Object
- Struct
- Aws::Rekognition::Types::Landmark
- Defined in:
- gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb
Overview
Indicates the location of the landmark on the face.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#type ⇒ String
Type of landmark.
-
#x ⇒ Float
The x-coordinate of the landmark expressed as a ratio of the width of the image.
-
#y ⇒ Float
The y-coordinate of the landmark expressed as a ratio of the height of the image.
Instance Attribute Details
#type ⇒ String
Type of landmark.
4843 4844 4845 4846 4847 4848 4849 |
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4843 class Landmark < Struct.new( :type, :x, :y) SENSITIVE = [] include Aws::Structure end |
#x ⇒ Float
The x-coordinate of the landmark expressed as a ratio of the width of the image. The x-coordinate is measured from the left-side of the image. For example, if the image is 700 pixels wide and the x-coordinate of the landmark is at 350 pixels, this value is 0.5.
4843 4844 4845 4846 4847 4848 4849 |
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4843 class Landmark < Struct.new( :type, :x, :y) SENSITIVE = [] include Aws::Structure end |
#y ⇒ Float
The y-coordinate of the landmark expressed as a ratio of the height of the image. The y-coordinate is measured from the top of the image. For example, if the image height is 200 pixels and the y-coordinate of the landmark is at 50 pixels, this value is 0.25.
4843 4844 4845 4846 4847 4848 4849 |
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4843 class Landmark < Struct.new( :type, :x, :y) SENSITIVE = [] include Aws::Structure end |