« blib/lib/Paws/Rekognition/ProtectiveEquipmentPerson.pm
↑ Summary
blib/lib/Paws/Rekognition/ProtectiveEquipmentSummary.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Rekognition::ProtectiveEquipmentSummarizationAttributes; | ||
| 3 | use Moose; | ||
| 4 | has MinConfidence => (is => 'ro', isa => 'Num', required => 1); | ||
| 5 | has RequiredEquipmentTypes => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::Rekognition::ProtectiveEquipmentSummarizationAttributes | ||
| 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::ProtectiveEquipmentSummarizationAttributes object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { MinConfidence => $value, ..., RequiredEquipmentTypes => $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::ProtectiveEquipmentSummarizationAttributes object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->MinConfidence | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | Specifies summary attributes to return from a call to | ||
| 38 | DetectProtectiveEquipment. You can specify which types of PPE to | ||
| 39 | summarize. You can also specify a minimum confidence value for | ||
| 40 | detections. Summary information is returned in the C<Summary> | ||
| 41 | (ProtectiveEquipmentSummary) field of the response from | ||
| 42 | C<DetectProtectiveEquipment>. The summary includes which persons in an | ||
| 43 | image were detected wearing the requested types of person protective | ||
| 44 | equipment (PPE), which persons were detected as not wearing PPE, and | ||
| 45 | the persons in which a determination could not be made. For more | ||
| 46 | information, see ProtectiveEquipmentSummary. | ||
| 47 | |||
| 48 | =head1 ATTRIBUTES | ||
| 49 | |||
| 50 | |||
| 51 | =head2 B<REQUIRED> MinConfidence => Num | ||
| 52 | |||
| 53 | The minimum confidence level for which you want summary information. | ||
| 54 | The confidence level applies to person detection, body part detection, | ||
| 55 | equipment detection, and body part coverage. Amazon Rekognition doesn't | ||
| 56 | return summary information with a confidence than this specified value. | ||
| 57 | There isn't a default value. | ||
| 58 | |||
| 59 | Specify a C<MinConfidence> value that is between 50-100% as | ||
| 60 | C<DetectProtectiveEquipment> returns predictions only where the | ||
| 61 | detection confidence is between 50% - 100%. If you specify a value that | ||
| 62 | is less than 50%, the results are the same specifying a value of 50%. | ||
| 63 | |||
| 64 | |||
| 65 | =head2 B<REQUIRED> RequiredEquipmentTypes => ArrayRef[Str|Undef] | ||
| 66 | |||
| 67 | An array of personal protective equipment types for which you want | ||
| 68 | summary information. If a person is detected wearing a required | ||
| 69 | requipment type, the person's ID is added to the | ||
| 70 | C<PersonsWithRequiredEquipment> array field returned in | ||
| 71 | ProtectiveEquipmentSummary by C<DetectProtectiveEquipment>. | ||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | =head1 SEE ALSO | ||
| 76 | |||
| 77 | This class forms part of L<Paws>, describing an object used in L<Paws::Rekognition> | ||
| 78 | |||
| 79 | =head1 BUGS and CONTRIBUTIONS | ||
| 80 | |||
| 81 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 82 | |||
| 83 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 84 | |||
| 85 | =cut | ||
| 86 |