SourceItem#

class deeptrack.sources.base.SourceItem(callbacks: List[Callable[[Any], None]], **kwargs: Any)#

Bases: dict

A dict-like object that calls a list of callbacks when called.

Used in conjunction with the Source class to call a list of callbacks when called. These callbacks are used to activate a certain item in the source, ensuring all DeepTrackNodes are updated.

Parameters#

callbacks: list

A list of callables that are called when the SourceItem is called.

Methods Summary

__call__()

Call self as a function.

Methods Documentation

__call__() SourceItem#

Call self as a function.