NAME

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

DESCRIPTION

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

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

SYNOPSIS

    my $rekognition = Paws->service('Rekognition');
    # To delete a face
    # This operation searches for matching faces in the collection the supplied
    # face belongs to.
    my $SearchFacesResponse = $rekognition->SearchFaces(
      'CollectionId'       => 'myphotos',
      'FaceId'             => '70008e50-75e4-55d0-8e80-363fb73b3a14',
      'FaceMatchThreshold' => 90,
      'MaxFaces'           => 10
    );

    # Results:
    my $FaceMatches    = $SearchFacesResponse->FaceMatches;
    my $SearchedFaceId = $SearchFacesResponse->SearchedFaceId;

    # Returns a L<Paws::Rekognition::SearchFacesResponse> 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/SearchFaces

ATTRIBUTES

REQUIRED CollectionId => Str

ID of the collection the face belongs to.

REQUIRED FaceId => Str

ID of a face to find matches for in the collection.

FaceMatchThreshold => Num

Optional value specifying the minimum confidence in the face match to return. For example, don't return any matches where confidence in matches is less than 70%. The default value is 80%.

MaxFaces => Int

Maximum number of faces to return. The operation returns the maximum number of faces with the highest confidence in the match.

SEE ALSO

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