« blib/lib/Paws/Rekognition/LabelDetection.pm
↑ Summary
blib/lib/Paws/Rekognition/ListCollections.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Rekognition::Landmark; | ||
| 3 | use Moose; | ||
| 4 | has Type => (is => 'ro', isa => 'Str'); | ||
| 5 | has X => (is => 'ro', isa => 'Num'); | ||
| 6 | has Y => (is => 'ro', isa => 'Num'); | ||
| 7 | |||
| 8 | 1; | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::Rekognition::Landmark | ||
| 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::Landmark object: | ||
| 26 | |||
| 27 | $service_obj->Method(Att1 => { Type => $value, ..., Y => $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::Landmark object: | ||
| 32 | |||
| 33 | $result = $service_obj->Method(...); | ||
| 34 | $result->Att1->Type | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | Indicates the location of the landmark on the face. | ||
| 39 | |||
| 40 | =head1 ATTRIBUTES | ||
| 41 | |||
| 42 | |||
| 43 | =head2 Type => Str | ||
| 44 | |||
| 45 | Type of landmark. | ||
| 46 | |||
| 47 | |||
| 48 | =head2 X => Num | ||
| 49 | |||
| 50 | The x-coordinate of the landmark expressed as a ratio of the width of | ||
| 51 | the image. The x-coordinate is measured from the left-side of the | ||
| 52 | image. For example, if the image is 700 pixels wide and the | ||
| 53 | x-coordinate of the landmark is at 350 pixels, this value is 0.5. | ||
| 54 | |||
| 55 | |||
| 56 | =head2 Y => Num | ||
| 57 | |||
| 58 | The y-coordinate of the landmark expressed as a ratio of the height of | ||
| 59 | the image. The y-coordinate is measured from the top of the image. For | ||
| 60 | example, if the image height is 200 pixels and the y-coordinate of the | ||
| 61 | landmark is at 50 pixels, this value is 0.25. | ||
| 62 | |||
| 63 | |||
| 64 | |||
| 65 | =head1 SEE ALSO | ||
| 66 | |||
| 67 | This class forms part of L<Paws>, describing an object used in L<Paws::Rekognition> | ||
| 68 | |||
| 69 | =head1 BUGS and CONTRIBUTIONS | ||
| 70 | |||
| 71 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 72 | |||
| 73 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 74 | |||
| 75 | =cut | ||
| 76 |