Interface BoundingBox.Builder

    • Method Detail

      • width

        BoundingBox.Builder width​(Float width)

        Width of the bounding box as a ratio of the overall image width.

        Parameters:
        width - Width of the bounding box as a ratio of the overall image width.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • height

        BoundingBox.Builder height​(Float height)

        Height of the bounding box as a ratio of the overall image height.

        Parameters:
        height - Height of the bounding box as a ratio of the overall image height.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • left

        BoundingBox.Builder left​(Float left)

        Left coordinate of the bounding box as a ratio of overall image width.

        Parameters:
        left - Left coordinate of the bounding box as a ratio of overall image width.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • top

        BoundingBox.Builder top​(Float top)

        Top coordinate of the bounding box as a ratio of overall image height.

        Parameters:
        top - Top coordinate of the bounding box as a ratio of overall image height.
        Returns:
        Returns a reference to this object so that method calls can be chained together.