Skip to content

Commit

Permalink
Fix test_histogram_detector
Browse files Browse the repository at this point in the history
  • Loading branch information
Breakthrough authored Apr 17, 2024
1 parent db29d6c commit cb39fe6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_detectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit cb39fe6

Please sign in to comment.