File Coverage

blib/lib/Paws/Rekognition/FaceDetail.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::FaceDetail;
2 1     1   547 use Moose;
  1         5  
  1         9  
3             has AgeRange => (is => 'ro', isa => 'Paws::Rekognition::AgeRange');
4             has Beard => (is => 'ro', isa => 'Paws::Rekognition::Beard');
5             has BoundingBox => (is => 'ro', isa => 'Paws::Rekognition::BoundingBox');
6             has Confidence => (is => 'ro', isa => 'Num');
7             has Emotions => (is => 'ro', isa => 'ArrayRef[Paws::Rekognition::Emotion]');
8             has Eyeglasses => (is => 'ro', isa => 'Paws::Rekognition::Eyeglasses');
9             has EyesOpen => (is => 'ro', isa => 'Paws::Rekognition::EyeOpen');
10             has Gender => (is => 'ro', isa => 'Paws::Rekognition::Gender');
11             has Landmarks => (is => 'ro', isa => 'ArrayRef[Paws::Rekognition::Landmark]');
12             has MouthOpen => (is => 'ro', isa => 'Paws::Rekognition::MouthOpen');
13             has Mustache => (is => 'ro', isa => 'Paws::Rekognition::Mustache');
14             has Pose => (is => 'ro', isa => 'Paws::Rekognition::Pose');
15             has Quality => (is => 'ro', isa => 'Paws::Rekognition::ImageQuality');
16             has Smile => (is => 'ro', isa => 'Paws::Rekognition::Smile');
17             has Sunglasses => (is => 'ro', isa => 'Paws::Rekognition::Sunglasses');
18             1;
19              
20             ### main pod documentation begin ###
21              
22             =head1 NAME
23              
24             Paws::Rekognition::FaceDetail
25              
26             =head1 USAGE
27              
28             This class represents one of two things:
29              
30             =head3 Arguments in a call to a service
31              
32             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
33             Each attribute should be used as a named argument in the calls that expect this type of object.
34              
35             As an example, if Att1 is expected to be a Paws::Rekognition::FaceDetail object:
36              
37             $service_obj->Method(Att1 => { AgeRange => $value, ..., Sunglasses => $value });
38              
39             =head3 Results returned from an API call
40              
41             Use accessors for each attribute. If Att1 is expected to be an Paws::Rekognition::FaceDetail object:
42              
43             $result = $service_obj->Method(...);
44             $result->Att1->AgeRange
45              
46             =head1 DESCRIPTION
47              
48             Structure containing attributes of the face that the algorithm
49             detected.
50              
51             =head1 ATTRIBUTES
52              
53              
54             =head2 AgeRange => L<Paws::Rekognition::AgeRange>
55              
56             The estimated age range, in years, for the face. Low represents the
57             lowest estimated age and High represents the highest estimated age.
58              
59              
60             =head2 Beard => L<Paws::Rekognition::Beard>
61              
62             Indicates whether or not the face has a beard, and the confidence level
63             in the determination.
64              
65              
66             =head2 BoundingBox => L<Paws::Rekognition::BoundingBox>
67              
68             Bounding box of the face.
69              
70              
71             =head2 Confidence => Num
72              
73             Confidence level that the bounding box contains a face (and not a
74             different object such as a tree).
75              
76              
77             =head2 Emotions => ArrayRef[L<Paws::Rekognition::Emotion>]
78              
79             The emotions detected on the face, and the confidence level in the
80             determination. For example, HAPPY, SAD, and ANGRY.
81              
82              
83             =head2 Eyeglasses => L<Paws::Rekognition::Eyeglasses>
84              
85             Indicates whether or not the face is wearing eye glasses, and the
86             confidence level in the determination.
87              
88              
89             =head2 EyesOpen => L<Paws::Rekognition::EyeOpen>
90              
91             Indicates whether or not the eyes on the face are open, and the
92             confidence level in the determination.
93              
94              
95             =head2 Gender => L<Paws::Rekognition::Gender>
96              
97             Gender of the face and the confidence level in the determination.
98              
99              
100             =head2 Landmarks => ArrayRef[L<Paws::Rekognition::Landmark>]
101              
102             Indicates the location of landmarks on the face.
103              
104              
105             =head2 MouthOpen => L<Paws::Rekognition::MouthOpen>
106              
107             Indicates whether or not the mouth on the face is open, and the
108             confidence level in the determination.
109              
110              
111             =head2 Mustache => L<Paws::Rekognition::Mustache>
112              
113             Indicates whether or not the face has a mustache, and the confidence
114             level in the determination.
115              
116              
117             =head2 Pose => L<Paws::Rekognition::Pose>
118              
119             Indicates the pose of the face as determined by its pitch, roll, and
120             yaw.
121              
122              
123             =head2 Quality => L<Paws::Rekognition::ImageQuality>
124              
125             Identifies image brightness and sharpness.
126              
127              
128             =head2 Smile => L<Paws::Rekognition::Smile>
129              
130             Indicates whether or not the face is smiling, and the confidence level
131             in the determination.
132              
133              
134             =head2 Sunglasses => L<Paws::Rekognition::Sunglasses>
135              
136             Indicates whether or not the face is wearing sunglasses, and the
137             confidence level in the determination.
138              
139              
140              
141             =head1 SEE ALSO
142              
143             This class forms part of L<Paws>, describing an object used in L<Paws::Rekognition>
144              
145             =head1 BUGS and CONTRIBUTIONS
146              
147             The source code is located here: https://github.com/pplu/aws-sdk-perl
148              
149             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
150              
151             =cut
152