Class: Aws::Rekognition::Types::RecognizeCelebritiesResponse

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#celebrity_facesArray<Types::Celebrity>

Details about each celebrity found in the image. Amazon Rekognition can detect a maximum of 64 celebrities in an image. Each celebrity object includes the following attributes: ‘Face`, `Confidence`, `Emotions`, `Landmarks`, `Pose`, `Quality`, `Smile`, `Id`, `KnownGender`, `MatchConfidence`, `Name`, `Urls`.

Returns:



6201
6202
6203
6204
6205
6206
6207
# File 'lib/aws-sdk-rekognition/types.rb', line 6201

class RecognizeCelebritiesResponse < Struct.new(
  :celebrity_faces,
  :unrecognized_faces,
  :orientation_correction)
  SENSITIVE = []
  include Aws::Structure
end

#orientation_correctionString

<note markdown=“1”> Support for estimating image orientation using the the OrientationCorrection field has ceased as of August 2021. Any returned values for this field included in an API response will always be NULL.

</note>

The orientation of the input image (counterclockwise direction). If your application displays the image, you can use this value to correct the orientation. The bounding box coordinates returned in ‘CelebrityFaces` and `UnrecognizedFaces` represent face locations before the image orientation is corrected.

<note markdown=“1”> If the input image is in .jpeg format, it might contain exchangeable image (Exif) metadata that includes the image’s orientation. If so, and the Exif metadata for the input image populates the orientation field, the value of ‘OrientationCorrection` is null. The `CelebrityFaces` and `UnrecognizedFaces` bounding box coordinates represent face locations after Exif metadata is used to correct the image orientation. Images in .png format don’t contain Exif metadata.

</note>

Returns:

  • (String)


6201
6202
6203
6204
6205
6206
6207
# File 'lib/aws-sdk-rekognition/types.rb', line 6201

class RecognizeCelebritiesResponse < Struct.new(
  :celebrity_faces,
  :unrecognized_faces,
  :orientation_correction)
  SENSITIVE = []
  include Aws::Structure
end

#unrecognized_facesArray<Types::ComparedFace>

Details about each unrecognized face in the image.

Returns:



6201
6202
6203
6204
6205
6206
6207
# File 'lib/aws-sdk-rekognition/types.rb', line 6201

class RecognizeCelebritiesResponse < Struct.new(
  :celebrity_faces,
  :unrecognized_faces,
  :orientation_correction)
  SENSITIVE = []
  include Aws::Structure
end