Linker
- class byotrack.api.linker.Linker
Bases:
ABC,ParametrizedObjectMixinBase class for linkers in videos
Link detections through time to build tracks.
Each linker can define a set of parameters (See ParametrizedObjectMixin)
- abstract run(video: Iterable[ndarray], detections_sequence: Collection[Detections]) Collection[Track]
Run the linker on a whole video
- Parameters:
video (Iterable[np.ndarray]) – Sequence of frames (video) Each array is expected to have a shape (H, W, C)
detections_sequence (Collection[byotrack.Detections]) – Detections for each frame
- Returns:
Tracks of particles
- Return type:
Collection[byotrack.Track]