MCPcopy Create free account
hub / github.com/Breakthrough/PySceneDetect / _detect

Function _detect

tests/release/test_validation.py:46–51  ·  view source on GitHub ↗
(video_path)

Source from the content-addressed store, hash-verified

44
45
46def _detect(video_path):
47 video = open_video(video_path)
48 sm = SceneManager()
49 sm.add_detector(ContentDetector())
50 sm.detect_scenes(video)
51 return video, sm.get_scene_list()
52
53
54@pytest.mark.release

Calls 6

add_detectorMethod · 0.95
detect_scenesMethod · 0.95
get_scene_listMethod · 0.95
open_videoFunction · 0.90
SceneManagerClass · 0.90
ContentDetectorClass · 0.90

Tested by

no test coverage detected