Interface SearchFacesByImageResponse.Builder

    • Method Detail

      • searchedFaceBoundingBox

        SearchFacesByImageResponse.Builder searchedFaceBoundingBox​(BoundingBox searchedFaceBoundingBox)

        The bounding box around the face in the input image that Amazon Rekognition used for the search.

        Parameters:
        searchedFaceBoundingBox - The bounding box around the face in the input image that Amazon Rekognition used for the search.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • searchedFaceConfidence

        SearchFacesByImageResponse.Builder searchedFaceConfidence​(Float searchedFaceConfidence)

        The level of confidence that the searchedFaceBoundingBox, contains a face.

        Parameters:
        searchedFaceConfidence - The level of confidence that the searchedFaceBoundingBox, contains a face.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • faceMatches

        SearchFacesByImageResponse.Builder faceMatches​(Collection<FaceMatch> faceMatches)

        An array of faces that match the input face, along with the confidence in the match.

        Parameters:
        faceMatches - An array of faces that match the input face, along with the confidence in the match.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • faceMatches

        SearchFacesByImageResponse.Builder faceMatches​(FaceMatch... faceMatches)

        An array of faces that match the input face, along with the confidence in the match.

        Parameters:
        faceMatches - An array of faces that match the input face, along with the confidence in the match.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • faceModelVersion

        SearchFacesByImageResponse.Builder faceModelVersion​(String faceModelVersion)

        Version number of the face detection model associated with the input collection (CollectionId).

        Parameters:
        faceModelVersion - Version number of the face detection model associated with the input collection ( CollectionId).
        Returns:
        Returns a reference to this object so that method calls can be chained together.