From cb39fe6aec32b49ca2538a4f5247ce6a7047ce7d Mon Sep 17 00:00:00 2001 From: Brandon Castellano Date: Tue, 16 Apr 2024 21:07:49 -0400 Subject: [PATCH] Fix test_histogram_detector --- tests/test_detectors.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_detectors.py b/tests/test_detectors.py index 38aea36b..fb71ac01 100644 --- a/tests/test_detectors.py +++ b/tests/test_detectors.py @@ -50,6 +50,8 @@ def get_absolute_path(relative_path: str) -> str: # TODO: Add a test case for this in the fixtures defined below. def test_histogram_detector(test_movie_clip): """ Test SceneManager with VideoStreamCv2 and HistogramDetector. """ + TEST_MOVIE_CLIP_START_FRAMES_ACTUAL = [1199, 1226, 1260, 1281, 1334, 1365, 1590, 1697, 1871] + """Ground truth of start frame for each fast cut in `test_movie_clip`.""" video = VideoStreamCv2(test_movie_clip) scene_manager = SceneManager() scene_manager.add_detector(HistogramDetector())