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

Method get_callback_lambda

tests/test_scene_manager.py:92–94  ·  view source on GitHub ↗

For testing using a lambda..

(self)

Source from the content-addressed store, hash-verified

90 self.scene_list: list[int] = []
91
92 def get_callback_lambda(self):
93 """For testing using a lambda.."""
94 return lambda image, frame_num: self._callback(image, frame_num)
95
96 def get_callback_func(self):
97 """For testing using a callback function."""

Calls 1

_callbackMethod · 0.95

Tested by

no test coverage detected