MCPcopy Index your code
hub / github.com/Breakthrough/PySceneDetect / test_api_detect_stats

Function test_api_detect_stats

tests/test_api.py:37–41  ·  view source on GitHub ↗

Demonstrate usage of the `detect()` function to generate a statsfile.

(test_video_file: str)

Source from the content-addressed store, hash-verified

35
36
37def test_api_detect_stats(test_video_file: str):
38 """Demonstrate usage of the `detect()` function to generate a statsfile."""
39 from scenedetect import ContentDetector, detect
40
41 detect(test_video_file, ContentDetector(), stats_file_path="frame_metrics.csv")
42
43
44def test_api_scene_manager(test_video_file: str):

Callers

nothing calls this directly

Calls 2

detectFunction · 0.90
ContentDetectorClass · 0.90

Tested by

no test coverage detected