BoundingBoxUtil.Type

公開靜態最終列舉 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}。其他順序可透過索引陣列表示。