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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb

Instance Attribute Summary collapse

Instance Attribute Details

#labelsArray<Types::Label>

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

Returns:



777
778
779
780
781
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 777

class DetectLabelsResponse < Struct.new(
  :labels,
  :orientation_correction)
  include Aws::Structure
end

#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.

Returns:

  • (String)


777
778
779
780
781
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 777

class DetectLabelsResponse < Struct.new(
  :labels,
  :orientation_correction)
  include Aws::Structure
end