BoundingBoxUtil.Type

public static final 枚举 BoundingBoxUtil.Type

表示边界框的表示方式。

继承的方法

枚举值

public static final BoundingBoxUtil.Type BOUNDARIES

使用边界的组合 {left, top, right, bottom} 来表示边界框。默认顺序为 {left, top, right, bottom}。其他顺序可以通过索引数组指示。

public static final BoundingBoxUtil.Type CENTER

通过框的中心、宽度和高度来表示边界框。默认顺序为 {center_x, center_y, width, height}。其他顺序可以通过索引数组指示。

public static final BoundingBoxUtil.Type UPPER_LEFT

使用左上角、宽度和高度表示边界框。默认顺序为 {upper_left_x, top_left_y, width, height}。其他顺序可以通过索引数组指示。