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

Class: Aws::Rekognition::Types::DetectFacesResponse

  • Object
show all
Defined in:


Returned by:

Instance Attribute Summary collapse

Instance Attribute Details


Details of each face found in the image.



The orientation of the input image (counter-clockwise direction). If your application displays the image, you can use this value to correct image orientation. The bounding box coordinates returned in FaceDetails represent face locations before the image orientation is corrected.

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

Possible values:

  • ROTATE_0
  • ROTATE_90
  • ROTATE_180
  • ROTATE_270


  • (String)

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