Class: Aws::Rekognition::Types::RecognizeCelebritiesResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::Rekognition::Types::RecognizeCelebritiesResponse
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-rekognition/types.rb
Instance Attribute Summary collapse
-
#celebrity_faces ⇒ Array<Types::Celebrity>
Details about each celebrity found in the image.
-
#orientation_correction ⇒ String
The orientation of the input image (counterclockwise direction).
-
#unrecognized_faces ⇒ Array<Types::ComparedFace>
Details about each unrecognized face in the image.
Instance Attribute Details
#celebrity_faces ⇒ Array<Types::Celebrity>
Details about each celebrity found in the image. Amazon Rekognition can detect a maximum of 15 celebrities in an image.
1265 1266 1267 1268 1269 1270 |
# File 'lib/aws-sdk-rekognition/types.rb', line 1265 class RecognizeCelebritiesResponse < Struct.new( :celebrity_faces, :unrecognized_faces, :orientation_correction) include Aws::Structure end |
#orientation_correction ⇒ String
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 and 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>
1265 1266 1267 1268 1269 1270 |
# File 'lib/aws-sdk-rekognition/types.rb', line 1265 class RecognizeCelebritiesResponse < Struct.new( :celebrity_faces, :unrecognized_faces, :orientation_correction) include Aws::Structure end |
#unrecognized_faces ⇒ Array<Types::ComparedFace>
Details about each unrecognized face in the image.
1265 1266 1267 1268 1269 1270 |
# File 'lib/aws-sdk-rekognition/types.rb', line 1265 class RecognizeCelebritiesResponse < Struct.new( :celebrity_faces, :unrecognized_faces, :orientation_correction) include Aws::Structure end |