AWSRekognitionLandmark

Objective-C

@interface AWSRekognitionLandmark

Swift

class AWSRekognitionLandmark

Indicates the location of the landmark on the face.

  • Type of landmark.

    Declaration

    Objective-C

    @property (nonatomic) AWSRekognitionLandmarkType types;

    Swift

    var types: AWSRekognitionLandmarkType { get set }
  • X

    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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable X;

    Swift

    var x: NSNumber? { get set }
  • Y

    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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable Y;

    Swift

    var y: NSNumber? { get set }