NAME
Paws::Rekognition::ProtectiveEquipmentSummary
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::Rekognition::ProtectiveEquipmentSummary object:
$service_obj->Method(Att1 => { PersonsIndeterminate => $value, ..., PersonsWithRequiredEquipment => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::Rekognition::ProtectiveEquipmentSummary object:
$result = $service_obj->Method(...);
$result->Att1->PersonsIndeterminate
DESCRIPTION
Summary information for required items of personal protective equipment (PPE) detected on persons by a call to DetectProtectiveEquipment. You specify the required type of PPE in the SummarizationAttributes
(ProtectiveEquipmentSummarizationAttributes) input parameter. The summary includes which persons were detected wearing the required personal protective equipment (PersonsWithRequiredEquipment
), which persons were detected as not wearing the required PPE (PersonsWithoutRequiredEquipment
), and the persons in which a determination could not be made (PersonsIndeterminate
).
To get a total for each category, use the size of the field array. For example, to find out how many people were detected as wearing the specified PPE, use the size of the PersonsWithRequiredEquipment
array. If you want to find out more about a person, such as the location (BoundingBox) of the person on the image, use the person ID in each array element. Each person ID matches the ID field of a ProtectiveEquipmentPerson object returned in the Persons
array by DetectProtectiveEquipment
.
ATTRIBUTES
PersonsIndeterminate => ArrayRef[Int]
An array of IDs for persons where it was not possible to determine if they are wearing personal protective equipment.
PersonsWithoutRequiredEquipment => ArrayRef[Int]
An array of IDs for persons who are not wearing all of the types of PPE specified in the RequiredEquipmentTypes
field of the detected personal protective equipment.
PersonsWithRequiredEquipment => ArrayRef[Int]
An array of IDs for persons who are wearing detected personal protective equipment.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::Rekognition
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues