Interface FaceRecord.Builder

  • Method Details

    • face

      Describes the face properties such as the bounding box, face ID, image ID of the input image, and external image ID that you assigned.

      Parameters:
      face - Describes the face properties such as the bounding box, face ID, image ID of the input image, and external image ID that you assigned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • face

      Describes the face properties such as the bounding box, face ID, image ID of the input image, and external image ID that you assigned.

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

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

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

      FaceRecord.Builder faceDetail(FaceDetail faceDetail)

      Structure containing attributes of the face that the algorithm detected.

      Parameters:
      faceDetail - Structure containing attributes of the face that the algorithm detected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • faceDetail

      default FaceRecord.Builder faceDetail(Consumer<FaceDetail.Builder> faceDetail)

      Structure containing attributes of the face that the algorithm detected.

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

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

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