Tracker
- class byotrack.api.tracker.Tracker
Bases:
ABC,ParametrizedObjectMixinBase abstract tracker class
A tracker can be run on a whole video and produces tracks
- abstract run(video: Iterable[ndarray]) Collection[Track]
Run the tracker on a whole video
- Parameters:
video (Iterable[np.ndarray]) – Sequence of frames (video) Each array is expected to have a shape (H, W, C)
- Returns:
Tracks of particles
- Return type:
Collection[byotrack.Track]
- class byotrack.api.tracker.MultiStepTracker(detector: Detector, linker: Linker, refiners: Iterable[Refiner] = ())
Bases:
TrackerMulti step tracker: split the tracking task into Detect / Link / Refine
- detector
Performs the detection on the video
- Type:
byotrack.Detector
- linker
Links detections through time
- Type:
byotrack.Linker
- refiners
Optional refinement steps Empty by default
- Type:
Iterable[byotrack.Refiner]
- run(video: Iterable[ndarray]) Collection[Track]
Run the tracker on a whole video
- Parameters:
video (Iterable[np.ndarray]) – Sequence of frames (video) Each array is expected to have a shape (H, W, C)
- Returns:
Tracks of particles
- Return type:
Collection[byotrack.Track]