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

Method stats_manager

scenedetect/detector.py:84–90  ·  view source on GitHub ↗

Optional :class:`StatsManager ` to use for storing frame metrics. When this detector is added to a parent :class:`SceneManager `, then this is set to the same :class:`StatsManager <scenedetect.sta

(self)

Source from the content-addressed store, hash-verified

82
83 @property
84 def stats_manager(self) -> StatsManager | None:
85 """Optional :class:`StatsManager <scenedetect.stats_manager.StatsManager>` to use for
86 storing frame metrics. When this detector is added to a parent
87 :class:`SceneManager <scenedetect.scene_manager.SceneManager>`, then this is set to the
88 same :class:`StatsManager <scenedetect.stats_manager.StatsManager>` of the parent - but
89 only if it has one itself."""
90 return self._stats_manager
91
92 @stats_manager.setter
93 def stats_manager(self, value: StatsManager | None):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected