Interface FaceSearchSettings.Builder

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

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

    • collectionId

      FaceSearchSettings.Builder collectionId(String collectionId)

      The ID of a collection that contains faces that you want to search for.

      Parameters:
      collectionId - The ID of a collection that contains faces that you want to search for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • faceMatchThreshold

      FaceSearchSettings.Builder faceMatchThreshold(Float faceMatchThreshold)

      Minimum face match confidence score that must be met to return a result for a recognized face. The default is 80. 0 is the lowest confidence. 100 is the highest confidence. Values between 0 and 100 are accepted, and values lower than 80 are set to 80.

      Parameters:
      faceMatchThreshold - Minimum face match confidence score that must be met to return a result for a recognized face. The default is 80. 0 is the lowest confidence. 100 is the highest confidence. Values between 0 and 100 are accepted, and values lower than 80 are set to 80.
      Returns:
      Returns a reference to this object so that method calls can be chained together.