The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::Rekognition::DetectProtectiveEquipment - Arguments for method DetectProtectiveEquipment on Paws::Rekognition

DESCRIPTION

This class represents the parameters used for calling the method DetectProtectiveEquipment on the Amazon Rekognition service. Use the attributes of this class as arguments to method DetectProtectiveEquipment.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DetectProtectiveEquipment.

SYNOPSIS

    my $rekognition = Paws->service('Rekognition');
    my $DetectProtectiveEquipmentResponse =
      $rekognition->DetectProtectiveEquipment(
      Image => {
        Bytes    => 'BlobImageBlob',    # min: 1, max: 5242880; OPTIONAL
        S3Object => {
          Bucket  => 'MyS3Bucket',           # min: 3, max: 255; OPTIONAL
          Name    => 'MyS3ObjectName',       # min: 1, max: 1024; OPTIONAL
          Version => 'MyS3ObjectVersion',    # min: 1, max: 1024; OPTIONAL
        },    # OPTIONAL
      },
      SummarizationAttributes => {
        MinConfidence          => 1.0,    # max: 100
        RequiredEquipmentTypes => [
          'FACE_COVER', ...    # values: FACE_COVER, HAND_COVER, HEAD_COVER
        ],

      },    # OPTIONAL
      );

    # Results:
    my $Persons = $DetectProtectiveEquipmentResponse->Persons;
    my $ProtectiveEquipmentModelVersion =
      $DetectProtectiveEquipmentResponse->ProtectiveEquipmentModelVersion;
    my $Summary = $DetectProtectiveEquipmentResponse->Summary;

    # Returns a L<Paws::Rekognition::DetectProtectiveEquipmentResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/rekognition/DetectProtectiveEquipment

ATTRIBUTES

REQUIRED Image => Paws::Rekognition::Image

The image in which you want to detect PPE on detected persons. The image can be passed as image bytes or you can reference an image stored in an Amazon S3 bucket.

SummarizationAttributes => Paws::Rekognition::ProtectiveEquipmentSummarizationAttributes

An array of PPE types that you want to summarize.

SEE ALSO

This class forms part of Paws, documenting arguments for method DetectProtectiveEquipment 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