File Coverage

blib/lib/Paws/Rekognition/Landmark.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::Landmark;
2 1     1   539 use Moose;
  1         3  
  1         9  
3             has Type => (is => 'ro', isa => 'Str');
4             has X => (is => 'ro', isa => 'Num');
5             has Y => (is => 'ro', isa => 'Num');
6             1;
7              
8             ### main pod documentation begin ###
9              
10             =head1 NAME
11              
12             Paws::Rekognition::Landmark
13              
14             =head1 USAGE
15              
16             This class represents one of two things:
17              
18             =head3 Arguments in a call to a service
19              
20             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
21             Each attribute should be used as a named argument in the calls that expect this type of object.
22              
23             As an example, if Att1 is expected to be a Paws::Rekognition::Landmark object:
24              
25             $service_obj->Method(Att1 => { Type => $value, ..., Y => $value });
26              
27             =head3 Results returned from an API call
28              
29             Use accessors for each attribute. If Att1 is expected to be an Paws::Rekognition::Landmark object:
30              
31             $result = $service_obj->Method(...);
32             $result->Att1->Type
33              
34             =head1 DESCRIPTION
35              
36             Indicates the location of the landmark on the face.
37              
38             =head1 ATTRIBUTES
39              
40              
41             =head2 Type => Str
42              
43             Type of the landmark.
44              
45              
46             =head2 X => Num
47              
48             x-coordinate from the top left of the landmark expressed as the ratio
49             of the width of the image. For example, if the images is 700x200 and
50             the x-coordinate of the landmark is at 350 pixels, this value is 0.5.
51              
52              
53             =head2 Y => Num
54              
55             y-coordinate from the top left of the landmark expressed as the ratio
56             of the height of the image. For example, if the images is 700x200 and
57             the y-coordinate of the landmark is at 100 pixels, this value is 0.5.
58              
59              
60              
61             =head1 SEE ALSO
62              
63             This class forms part of L<Paws>, describing an object used in L<Paws::Rekognition>
64              
65             =head1 BUGS and CONTRIBUTIONS
66              
67             The source code is located here: https://github.com/pplu/aws-sdk-perl
68              
69             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
70              
71             =cut
72