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

Method is_save_required

scenedetect/stats_manager.py:155–162  ·  view source on GitHub ↗

Is Save Required: Checks if the stats have been updated since loading. Returns: bool: True if there are frame metrics/statistics not yet written to disk, False otherwise.

(self)

Source from the content-addressed store, hash-verified

153 return all([self._metric_exists(timecode, metric_key) for metric_key in metric_keys])
154
155 def is_save_required(self) -> bool:
156 """Is Save Required: Checks if the stats have been updated since loading.
157
158 Returns:
159 bool: True if there are frame metrics/statistics not yet written to disk,
160 False otherwise.
161 """
162 return self._metrics_updated
163
164 def save_to_csv(
165 self,

Callers 3

test_metricsFunction · 0.95
save_to_csvMethod · 0.95
_save_statsFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_metricsFunction · 0.76