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

Class: Aws::Rekognition::Types::DetectLabelsResponse

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

Overview

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#labelsArray<Types::Label>

An array of labels for the real-world objects detected.

Returns:

  • (Array<Types::Label>)

    An array of labels for the real-world objects detected.

#orientation_correctionString

The orientation of the input image (counter-clockwise direction). If your application displays the image, you can use this value to correct the orientation. If Amazon Rekognition detects that the input image was rotated (for example, by 90 degrees), it first corrects the orientation before detecting the labels.

If the input image Exif metadata populates the orientation field, Amazon Rekognition does not perform orientation correction and the value of OrientationCorrection will be null.

Possible values:

  • ROTATE_0
  • ROTATE_90
  • ROTATE_180
  • ROTATE_270

Returns:

  • (String)

    The orientation of the input image (counter-clockwise direction).