| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Rekognition::Gender; | ||
| 3 | use Moose; | ||
| 4 | has Confidence => (is => 'ro', isa => 'Num'); | ||
| 5 | has Value => (is => 'ro', isa => 'Str'); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::Rekognition::Gender | ||
| 14 | |||
| 15 | =head1 USAGE | ||
| 16 | |||
| 17 | This class represents one of two things: | ||
| 18 | |||
| 19 | =head3 Arguments in a call to a service | ||
| 20 | |||
| 21 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 22 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 23 | |||
| 24 | As an example, if Att1 is expected to be a Paws::Rekognition::Gender object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { Confidence => $value, ..., Value => $value }); | ||
| 27 | |||
| 28 | =head3 Results returned from an API call | ||
| 29 | |||
| 30 | Use accessors for each attribute. If Att1 is expected to be an Paws::Rekognition::Gender object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->Confidence | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | The predicted gender of a detected face. | ||
| 38 | |||
| 39 | Amazon Rekognition makes gender binary (male/female) predictions based | ||
| 40 | on the physical appearance of a face in a particular image. This kind | ||
| 41 | of prediction is not designed to categorize a personE<rsquo>s gender | ||
| 42 | identity, and you shouldn't use Amazon Rekognition to make such a | ||
| 43 | determination. For example, a male actor wearing a long-haired wig and | ||
| 44 | earrings for a role might be predicted as female. | ||
| 45 | |||
| 46 | Using Amazon Rekognition to make gender binary predictions is best | ||
| 47 | suited for use cases where aggregate gender distribution statistics | ||
| 48 | need to be analyzed without identifying specific users. For example, | ||
| 49 | the percentage of female users compared to male users on a social media | ||
| 50 | platform. | ||
| 51 | |||
| 52 | We don't recommend using gender binary predictions to make decisions | ||
| 53 | that impact an individual's rights, privacy, or access to services. | ||
| 54 | |||
| 55 | =head1 ATTRIBUTES | ||
| 56 | |||
| 57 | |||
| 58 | =head2 Confidence => Num | ||
| 59 | |||
| 60 | Level of confidence in the prediction. | ||
| 61 | |||
| 62 | |||
| 63 | =head2 Value => Str | ||
| 64 | |||
| 65 | The predicted gender of the face. | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | =head1 SEE ALSO | ||
| 70 | |||
| 71 | This class forms part of L<Paws>, describing an object used in L<Paws::Rekognition> | ||
| 72 | |||
| 73 | =head1 BUGS and CONTRIBUTIONS | ||
| 74 | |||
| 75 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 76 | |||
| 77 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 78 | |||
| 79 | =cut | ||
| 80 |