diff --git a/docs/detection/utils.md b/docs/detection/utils.md index 7b221231..32d48c70 100644 --- a/docs/detection/utils.md +++ b/docs/detection/utils.md @@ -33,4 +33,3 @@ ## scale_boxes :::supervision.detection.utils.scale_boxes - diff --git a/test/detection/test_utils.py b/test/detection/test_utils.py index 66c84ae6..83b71b85 100644 --- a/test/detection/test_utils.py +++ b/test/detection/test_utils.py @@ -10,7 +10,8 @@ from supervision.detection.utils import ( filter_polygons_by_area, move_boxes, non_max_suppression, - process_roboflow_result, scale_boxes, + process_roboflow_result, + scale_boxes, ) TEST_MASK = np.zeros((1, 1000, 1000), dtype=bool) @@ -537,7 +538,7 @@ def test_move_boxes( np.array([[-5, -5, 15, 15], [0, 0, 40, 40]]), DoesNotRaise(), ), # two boxes with factor equal to 2.0 - ] + ], ) def test_scale_boxes( xyxy: np.ndarray, @@ -550,7 +551,6 @@ def test_scale_boxes( assert np.array_equal(result, expected_result) - @pytest.mark.parametrize( "masks, expected_result, exception", [