blib/lib/Paws/Rekognition/ProtectiveEquipmentSummary.pm untested

filter: Statementstmt 0.0% 0 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 7 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Rekognition::ProtectiveEquipmentSummary;
3 use Moose;
4 has PersonsIndeterminate => (is => 'ro', isa => 'ArrayRef[Int]');
5 has PersonsWithoutRequiredEquipment => (is => 'ro', isa => 'ArrayRef[Int]');
6 has PersonsWithRequiredEquipment => (is => 'ro', isa => 'ArrayRef[Int]');
7  
8 1;
9  
10 ### main pod documentation begin ###
11  
12 =head1 NAME
13  
14 Paws::Rekognition::ProtectiveEquipmentSummary
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::ProtectiveEquipmentSummary object:
26  
27 $service_obj->Method(Att1 => { PersonsIndeterminate => $value, ..., PersonsWithRequiredEquipment => $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::ProtectiveEquipmentSummary object:
32  
33 $result = $service_obj->Method(...);
34 $result->Att1->PersonsIndeterminate
35  
36 =head1 DESCRIPTION
37  
38 Summary information for required items of personal protective equipment
39 (PPE) detected on persons by a call to DetectProtectiveEquipment. You
40 specify the required type of PPE in the C<SummarizationAttributes>
41 (ProtectiveEquipmentSummarizationAttributes) input parameter. The
42 summary includes which persons were detected wearing the required
43 personal protective equipment (C<PersonsWithRequiredEquipment>), which
44 persons were detected as not wearing the required PPE
45 (C<PersonsWithoutRequiredEquipment>), and the persons in which a
46 determination could not be made (C<PersonsIndeterminate>).
47  
48 To get a total for each category, use the size of the field array. For
49 example, to find out how many people were detected as wearing the
50 specified PPE, use the size of the C<PersonsWithRequiredEquipment>
51 array. If you want to find out more about a person, such as the
52 location (BoundingBox) of the person on the image, use the person ID in
53 each array element. Each person ID matches the ID field of a
54 ProtectiveEquipmentPerson object returned in the C<Persons> array by
55 C<DetectProtectiveEquipment>.
56  
57 =head1 ATTRIBUTES
58  
59  
60 =head2 PersonsIndeterminate => ArrayRef[Int]
61  
62 An array of IDs for persons where it was not possible to determine if
63 they are wearing personal protective equipment.
64  
65  
66 =head2 PersonsWithoutRequiredEquipment => ArrayRef[Int]
67  
68 An array of IDs for persons who are not wearing all of the types of PPE
69 specified in the C<RequiredEquipmentTypes> field of the detected
70 personal protective equipment.
71  
72  
73 =head2 PersonsWithRequiredEquipment => ArrayRef[Int]
74  
75 An array of IDs for persons who are wearing detected personal
76 protective equipment.
77  
78  
79  
80 =head1 SEE ALSO
81  
82 This class forms part of L<Paws>, describing an object used in L<Paws::Rekognition>
83  
84 =head1 BUGS and CONTRIBUTIONS
85  
86 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
87  
88 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
89  
90 =cut
91