Interface FaceRecord.Builder

    • Method Detail

      • face

        FaceRecord.Builder face​(Face 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

        default FaceRecord.Builder face​(Consumer<Face.Builder> 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:
        face(Face)
      • 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.