Remove unrelated test

This commit is contained in:
Nick Mowen 2023-06-12 14:29:29 -06:00
parent f2c817c8ad
commit 0d9a305d1f

View File

@ -191,65 +191,3 @@ class TestObjectBoundingBoxes(unittest.TestCase):
assert intersection(box_a, box_b) == None assert intersection(box_a, box_b) == None
assert intersection(box_b, box_c) == [899, 128, 985, 151] assert intersection(box_b, box_c) == [899, 128, 985, 151]
def test_consolidate_objects(self):
selected_objects = [
(
"car", # valid detection, should not be consolidated
0.82421875,
(2044, 240, 2134, 297),
5130,
1.5789473684210527,
(2008, 188, 2168, 348),
),
(
"car", # valid detection, should not be consolidated
0.76953125,
(124, 239, 967, 719),
404640,
1.75625,
(0, 0, 2968, 2968),
),
(
"car", # valid detection, should not be consolidated
0.71484375,
(890, 93, 976, 150),
4902,
1.5087719298245614,
(854, 40, 1014, 200),
),
(
"car", # valid detection, should not be consolidated
0.6640625,
(1959, 188, 2005, 222),
1564,
1.3529411764705883,
(1768, 0, 2560, 792),
),
(
"car", # invalid detection, should be consolidated
0.65234375,
(2033, 193, 2048, 203),
150,
1.5,
(2008, 188, 2168, 348),
),
]
[
(
"car",
0.82421875,
(2044, 240, 2134, 297),
5130,
1.5789473684210527,
(2008, 188, 2168, 348),
),
(
"car",
0.76953125,
(124, 239, 967, 719),
404640,
1.75625,
(0, 0, 2968, 2968),
),
]