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

Class: Aws::Rekognition::Types::IndexFacesResponse

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

Instance Attribute Summary collapse

Instance Attribute Details

#face_model_versionString

Version number of the face detection model associated with the input collection (CollectionId).

Returns:

  • (String)


1846
1847
1848
1849
1850
1851
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 1846

class IndexFacesResponse < Struct.new(
  :face_records,
  :orientation_correction,
  :face_model_version)
  include Aws::Structure
end

#face_recordsArray<Types::FaceRecord>

An array of faces detected and added to the collection. For more information, see Searching Faces in a Collection in the Amazon Rekognition Developer Guide.

Returns:



1846
1847
1848
1849
1850
1851
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 1846

class IndexFacesResponse < Struct.new(
  :face_records,
  :orientation_correction,
  :face_model_version)
  include Aws::Structure
end

#orientation_correctionString

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

If the input image is in jpeg format, it might contain exchangeable image (Exif) metadata. If so, and the Exif metadata populates the orientation field, the value of OrientationCorrection is null and the bounding box coordinates in FaceRecords represent face locations after Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.

Returns:

  • (String)


1846
1847
1848
1849
1850
1851
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 1846

class IndexFacesResponse < Struct.new(
  :face_records,
  :orientation_correction,
  :face_model_version)
  include Aws::Structure
end