« blib/lib/Paws/Rekognition/CompareFacesMatch.pm
↑ Summary
blib/lib/Paws/Rekognition/ComparedFace.pm »
| 1 | |||
| 2 | package Paws::Rekognition::CompareFacesResponse; | ||
| 3 | use Moose; | ||
| 4 | has FaceMatches => (is => 'ro', isa => 'ArrayRef[Paws::Rekognition::CompareFacesMatch]'); | ||
| 5 | has SourceImageFace => (is => 'ro', isa => 'Paws::Rekognition::ComparedSourceImageFace'); | ||
| 6 | has SourceImageOrientationCorrection => (is => 'ro', isa => 'Str'); | ||
| 7 | has TargetImageOrientationCorrection => (is => 'ro', isa => 'Str'); | ||
| 8 | has UnmatchedFaces => (is => 'ro', isa => 'ArrayRef[Paws::Rekognition::ComparedFace]'); | ||
| 9 | |||
| 10 | has _request_id => (is => 'ro', isa => 'Str'); | ||
| 11 | |||
| 12 | ### main pod documentation begin ### | ||
| 13 | |||
| 14 | =head1 NAME | ||
| 15 | |||
| 16 | Paws::Rekognition::CompareFacesResponse | ||
| 17 | |||
| 18 | =head1 ATTRIBUTES | ||
| 19 | |||
| 20 | |||
| 21 | =head2 FaceMatches => ArrayRef[L<Paws::Rekognition::CompareFacesMatch>] | ||
| 22 | |||
| 23 | An array of faces in the target image that match the source image face. | ||
| 24 | Each C<CompareFacesMatch> object provides the bounding box, the | ||
| 25 | confidence level that the bounding box contains a face, and the | ||
| 26 | similarity score for the face in the bounding box and the face in the | ||
| 27 | source image. | ||
| 28 | |||
| 29 | |||
| 30 | =head2 SourceImageFace => L<Paws::Rekognition::ComparedSourceImageFace> | ||
| 31 | |||
| 32 | The face in the source image that was used for comparison. | ||
| 33 | |||
| 34 | |||
| 35 | =head2 SourceImageOrientationCorrection => Str | ||
| 36 | |||
| 37 | The value of C<SourceImageOrientationCorrection> is always null. | ||
| 38 | |||
| 39 | If the input image is in .jpeg format, it might contain exchangeable | ||
| 40 | image file format (Exif) metadata that includes the image's | ||
| 41 | orientation. Amazon Rekognition uses this orientation information to | ||
| 42 | perform image correction. The bounding box coordinates are translated | ||
| 43 | to represent object locations after the orientation information in the | ||
| 44 | Exif metadata is used to correct the image orientation. Images in .png | ||
| 45 | format don't contain Exif metadata. | ||
| 46 | |||
| 47 | Amazon Rekognition doesnE<rsquo>t perform image correction for images | ||
| 48 | in .png format and .jpeg images without orientation information in the | ||
| 49 | image Exif metadata. The bounding box coordinates aren't translated and | ||
| 50 | represent the object locations before the image is rotated. | ||
| 51 | |||
| 52 | Valid values are: C<"ROTATE_0">, C<"ROTATE_90">, C<"ROTATE_180">, C<"ROTATE_270"> | ||
| 53 | =head2 TargetImageOrientationCorrection => Str | ||
| 54 | |||
| 55 | The value of C<TargetImageOrientationCorrection> is always null. | ||
| 56 | |||
| 57 | If the input image is in .jpeg format, it might contain exchangeable | ||
| 58 | image file format (Exif) metadata that includes the image's | ||
| 59 | orientation. Amazon Rekognition uses this orientation information to | ||
| 60 | perform image correction. The bounding box coordinates are translated | ||
| 61 | to represent object locations after the orientation information in the | ||
| 62 | Exif metadata is used to correct the image orientation. Images in .png | ||
| 63 | format don't contain Exif metadata. | ||
| 64 | |||
| 65 | Amazon Rekognition doesnE<rsquo>t perform image correction for images | ||
| 66 | in .png format and .jpeg images without orientation information in the | ||
| 67 | image Exif metadata. The bounding box coordinates aren't translated and | ||
| 68 | represent the object locations before the image is rotated. | ||
| 69 | |||
| 70 | Valid values are: C<"ROTATE_0">, C<"ROTATE_90">, C<"ROTATE_180">, C<"ROTATE_270"> | ||
| 71 | =head2 UnmatchedFaces => ArrayRef[L<Paws::Rekognition::ComparedFace>] | ||
| 72 | |||
| 73 | An array of faces in the target image that did not match the source | ||
| 74 | image face. | ||
| 75 | |||
| 76 | |||
| 77 | =head2 _request_id => Str | ||
| 78 | |||
| 79 | |||
| 80 | =cut | ||
| 81 | |||
| 82 | 1; |