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

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#face_detailsArray<Types::FaceDetail>

Details of each face found in the image.

Returns:



2114
2115
2116
2117
2118
2119
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 2114

class DetectFacesResponse < Struct.new(
  :face_details,
  :orientation_correction)
  SENSITIVE = []
  include Aws::Structure
end

#orientation_correctionString

The value of OrientationCorrection is always null.

If the input image is in .jpeg format, it might contain exchangeable image file format (Exif) metadata that includes the image's orientation. Amazon Rekognition uses this orientation information to perform image correction. The bounding box coordinates are translated to represent object locations after the orientation information in the Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.

Amazon Rekognition doesn’t perform image correction for images in .png format and .jpeg images without orientation information in the image Exif metadata. The bounding box coordinates aren't translated and represent the object locations before the image is rotated.

Returns:

  • (String)


2114
2115
2116
2117
2118
2119
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 2114

class DetectFacesResponse < Struct.new(
  :face_details,
  :orientation_correction)
  SENSITIVE = []
  include Aws::Structure
end