Files
supervision/docs/detection/utils.md
T
SkalskiP 7cbf16be8a Add scale_boxes function to detection utils
Added a new function scale_boxes to the detection utilities in order to scale the dimensions of bounding boxes. This function accepts bounding boxes and a scaling factor as input and returns the scaled bounding boxes. It can enlarge or shrink the input bounding boxes based on the value of the passed factor. The function was also documented in the utils.md file and necessary tests were added to assure its correctness.
2023-12-06 12:16:22 +01:00

610 B

box_iou_batch

:::supervision.detection.utils.box_iou_batch

non_max_suppression

:::supervision.detection.utils.non_max_suppression

polygon_to_mask

:::supervision.detection.utils.polygon_to_mask

mask_to_xyxy

:::supervision.detection.utils.mask_to_xyxy

mask_to_polygons

:::supervision.detection.utils.mask_to_polygons

polygon_to_xyxy

:::supervision.detection.utils.polygon_to_xyxy

filter_polygons_by_area

:::supervision.detection.utils.filter_polygons_by_area

move_boxes

:::supervision.detection.utils.move_boxes

scale_boxes

:::supervision.detection.utils.scale_boxes