File Coverage

blib/lib/Paws/Rekognition/ComparedFace.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             package Paws::Rekognition::ComparedFace;
2 1     1   676 use Moose;
  1         5  
  1         15  
3             has BoundingBox => (is => 'ro', isa => 'Paws::Rekognition::BoundingBox');
4             has Confidence => (is => 'ro', isa => 'Num');
5             has Landmarks => (is => 'ro', isa => 'ArrayRef[Paws::Rekognition::Landmark]');
6             has Pose => (is => 'ro', isa => 'Paws::Rekognition::Pose');
7             has Quality => (is => 'ro', isa => 'Paws::Rekognition::ImageQuality');
8             1;
9              
10             ### main pod documentation begin ###
11              
12             =head1 NAME
13              
14             Paws::Rekognition::ComparedFace
15              
16             =head1 USAGE
17              
18             This class represents one of two things:
19              
20             =head3 Arguments in a call to a service
21              
22             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23             Each attribute should be used as a named argument in the calls that expect this type of object.
24              
25             As an example, if Att1 is expected to be a Paws::Rekognition::ComparedFace object:
26              
27             $service_obj->Method(Att1 => { BoundingBox => $value, ..., Quality => $value });
28              
29             =head3 Results returned from an API call
30              
31             Use accessors for each attribute. If Att1 is expected to be an Paws::Rekognition::ComparedFace object:
32              
33             $result = $service_obj->Method(...);
34             $result->Att1->BoundingBox
35              
36             =head1 DESCRIPTION
37              
38             Provides face metadata for target image faces that are analysed by
39             C<CompareFaces> and C<RecognizeCelebrities>.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 BoundingBox => L<Paws::Rekognition::BoundingBox>
45              
46             Bounding box of the face.
47              
48              
49             =head2 Confidence => Num
50              
51             Level of confidence that what the bounding box contains is a face.
52              
53              
54             =head2 Landmarks => ArrayRef[L<Paws::Rekognition::Landmark>]
55              
56             An array of facial landmarks.
57              
58              
59             =head2 Pose => L<Paws::Rekognition::Pose>
60              
61             Indicates the pose of the face as determined by its pitch, roll, and
62             yaw.
63              
64              
65             =head2 Quality => L<Paws::Rekognition::ImageQuality>
66              
67             Identifies face image brightness and sharpness.
68              
69              
70              
71             =head1 SEE ALSO
72              
73             This class forms part of L<Paws>, describing an object used in L<Paws::Rekognition>
74              
75             =head1 BUGS and CONTRIBUTIONS
76              
77             The source code is located here: https://github.com/pplu/aws-sdk-perl
78              
79             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
80              
81             =cut
82