datumaro.plugins.tiling.util#
Functions
|
|
|
|
|
|
|
|
|
- datumaro.plugins.tiling.util.x1y1x2y2_to_cxcywh(x1: int, y1: int, x2: int, y2: int) Tuple[int, int, int, int] [source]#
- datumaro.plugins.tiling.util.cxcywh_to_x1y1x2y2(c_x: int, c_y: int, w: int, h: int) Tuple[int, int, int, int] [source]#
- datumaro.plugins.tiling.util.clip_x1y1x2y2(x1: int, y1: int, x2: int, y2: int, max_x: int, max_y: int, min_x: int = 0, min_y: int = 0) Tuple[int, int, int, int] [source]#