Interface CompareFacesMatch.Builder

All Superinterfaces:
Buildable, CopyableBuilder<CompareFacesMatch.Builder,CompareFacesMatch>, SdkBuilder<CompareFacesMatch.Builder,CompareFacesMatch>, SdkPojo
Enclosing class:
CompareFacesMatch

public static interface CompareFacesMatch.Builder extends SdkPojo, CopyableBuilder<CompareFacesMatch.Builder,CompareFacesMatch>
  • Method Details

    • similarity

      CompareFacesMatch.Builder similarity(Float similarity)

      Level of confidence that the faces match.

      Parameters:
      similarity - Level of confidence that the faces match.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • face

      Provides face metadata (bounding box and confidence that the bounding box actually contains a face).

      Parameters:
      face - Provides face metadata (bounding box and confidence that the bounding box actually contains a face).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • face

      Provides face metadata (bounding box and confidence that the bounding box actually contains a face).

      This is a convenience method that creates an instance of the ComparedFace.Builder avoiding the need to create one manually via ComparedFace.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to face(ComparedFace).

      Parameters:
      face - a consumer that will call methods on ComparedFace.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: