Interface CustomLabel.Builder

    • Method Detail

      • name

        CustomLabel.Builder name​(String name)

        The name of the custom label.

        Parameters:
        name - The name of the custom label.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • confidence

        CustomLabel.Builder confidence​(Float confidence)

        The confidence that the model has in the detection of the custom label. The range is 0-100. A higher value indicates a higher confidence.

        Parameters:
        confidence - The confidence that the model has in the detection of the custom label. The range is 0-100. A higher value indicates a higher confidence.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • geometry

        CustomLabel.Builder geometry​(Geometry geometry)

        The location of the detected object on the image that corresponds to the custom label. Includes an axis aligned coarse bounding box surrounding the object and a finer grain polygon for more accurate spatial information.

        Parameters:
        geometry - The location of the detected object on the image that corresponds to the custom label. Includes an axis aligned coarse bounding box surrounding the object and a finer grain polygon for more accurate spatial information.
        Returns:
        Returns a reference to this object so that method calls can be chained together.