MCPcopy Create free account
hub / github.com/MAC-VO/MAC-VO / isKeyframe

Method isKeyframe

Module/KeyframeSelector.py:32–33  ·  view source on GitHub ↗
(self, frame: StereoFrame)

Source from the content-addressed store, hash-verified

30
31class UniformKeyframe(IKeyframeSelector[StereoFrame]):
32 def isKeyframe(self, frame: StereoFrame) -> bool:
33 return (frame.frame_idx % self.config.keyframe_freq) == 0
34
35 @classmethod
36 def is_valid_config(cls, config: SimpleNamespace | None) -> None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected