ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

BoundingBoxUtil.Type

public static final enum BoundingBoxUtil.Type

Denotes how a bounding box is represented.

Inherited Methods

Enum Values

public static final BoundingBoxUtil.Type BOUNDARIES

Represents the bounding box by using the combination of boundaries, {left, top, right, bottom}. The default order is {left, top, right, bottom}. Other orders can be indicated by an index array.

public static final BoundingBoxUtil.Type CENTER

Represents the bounding box by using the center of the box, width and height. The default order is {center_x, center_y, width, height}. Other orders can be indicated by an index array.

public static final BoundingBoxUtil.Type UPPER_LEFT

Represents the bounding box by using the upper_left corner, width and height. The default order is {upper_left_x, upper_left_y, width, height}. Other orders can be indicated by an index array.