File Coverage

blib/lib/Paws/Rekognition/CompareFacesResponse.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::Rekognition::CompareFacesResponse;
3 1     1   631 use Moose;
  1         3  
  1         10  
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 orientation of the source image (counterclockwise direction). If
38             your application displays the source image, you can use this value to
39             correct image orientation. The bounding box coordinates returned in
40             C<SourceImageFace> represent the location of the face before the image
41             orientation is corrected.
42              
43             If the source image is in .jpeg format, it might contain exchangeable
44             image (Exif) metadata that includes the image's orientation. If the
45             Exif metadata for the source image populates the orientation field, the
46             value of C<OrientationCorrection> is null and the C<SourceImageFace>
47             bounding box coordinates represent the location of the face after Exif
48             metadata is used to correct the orientation. Images in .png format
49             don't contain Exif metadata.
50              
51             Valid values are: C<"ROTATE_0">, C<"ROTATE_90">, C<"ROTATE_180">, C<"ROTATE_270">
52             =head2 TargetImageOrientationCorrection => Str
53              
54             The orientation of the target image (in counterclockwise direction). If
55             your application displays the target image, you can use this value to
56             correct the orientation of the image. The bounding box coordinates
57             returned in C<FaceMatches> and C<UnmatchedFaces> represent face
58             locations before the image orientation is corrected.
59              
60             If the target image is in .jpg format, it might contain Exif metadata
61             that includes the orientation of the image. If the Exif metadata for
62             the target image populates the orientation field, the value of
63             C<OrientationCorrection> is null and the bounding box coordinates in
64             C<FaceMatches> and C<UnmatchedFaces> represent the location of the face
65             after Exif metadata is used to correct the orientation. Images in .png
66             format don't contain Exif metadata.
67              
68             Valid values are: C<"ROTATE_0">, C<"ROTATE_90">, C<"ROTATE_180">, C<"ROTATE_270">
69             =head2 UnmatchedFaces => ArrayRef[L<Paws::Rekognition::ComparedFace>]
70              
71             An array of faces in the target image that did not match the source
72             image face.
73              
74              
75             =head2 _request_id => Str
76              
77              
78             =cut
79              
80             1;