diff --git a/frigate/test/test_reduce_boxes.py b/frigate/test/test_reduce_boxes.py index d26fcd40c..5ac913dfe 100644 --- a/frigate/test/test_reduce_boxes.py +++ b/frigate/test/test_reduce_boxes.py @@ -1,6 +1,6 @@ from unittest import TestCase, main -from frigate.video import box_overlaps, reduce_boxes +from frigate.util.object import box_overlaps, reduce_boxes class TestBoxOverlaps(TestCase): diff --git a/frigate/test/test_video.py b/frigate/test/test_video.py index d16a5bea9..f2667bb62 100644 --- a/frigate/test/test_video.py +++ b/frigate/test/test_video.py @@ -73,7 +73,7 @@ class TestRegion(unittest.TestCase): boxes = [(100, 100, 200, 200), (202, 150, 252, 200), (900, 900, 950, 950)] cluster_candidates = get_cluster_candidates( - self.frame_shape, self.min_region_size, boxes, [] + self.frame_shape, self.min_region_size, boxes ) # save_clusters_image("cluster_candidates", boxes, cluster_candidates)