You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Rekognition::Types::SearchFacesRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing SearchFacesRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  collection_id: "CollectionId", # required
  face_id: "FaceId", # required
  max_faces: 1,
  face_match_threshold: 1.0,
}

Instance Attribute Summary collapse

Instance Attribute Details

#collection_idString

ID of the collection the face belongs to.

Returns:

  • (String)

    ID of the collection the face belongs to.

#face_idString

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

Returns:

  • (String)

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

#face_match_thresholdFloat

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%.

Returns:

  • (Float)

    Optional value specifying the minimum confidence in the face match to return.

#max_facesInteger

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

Returns:

  • (Integer)

    Maximum number of faces to return.