Refiner
- class byotrack.api.refiner.Refiner
Bases:
ABC,ParametrizedObjectMixinBase class for tracks refiners
Improve a set of tracks
Each refiner can define a set of parameters (See ParametrizedObjectMixin)
- abstract run(video: Iterable[ndarray], tracks: Collection[Track]) Collection[Track]
Run the refiner on a whole video
- Parameters:
video (Iterable[np.ndarray]) – Sequence of frames (video) Each array is expected to have a shape (H, W, C)
tracks (Collection[byotrack.Track]) – Tracks of particles
- Returns:
Refined tracks of particles
- Return type:
Collection[byotrack.Track]