class documentation

class DeepSort(object): (source)

View In Hierarchy

Undocumented

Static Method track Performs object tracking using the DeepSort algorithm on the given video samples.
Static Method track_sample Performs object tracking using the DeepSort algorithm on the given video sample.
@staticmethod
def track(sample_collection, in_field, out_field='frames.ds_tracks', max_age=5, keep_confidence=False, skip_failures=True, progress=None): (source)

Performs object tracking using the DeepSort algorithm on the given video samples.

DeepSort is an algorithm for tracking multiple objects in video streams based on deep learning techniques. It associates bounding boxes between frames and maintains tracks of objects over time.

Parameters
sample_collectiona fiftyone.core.collections.SampleCollection
in_fieldthe name of a frame field containing fiftyone.core.labels.Detections to track. The "frames." prefix is optional
out_field:"frames.ds_tracks"the name of a frame field to store the output fiftyone.core.labels.Detections with tracking information. The "frames." prefix is optional
max_age:5the maximum number of missed misses before a track is deleted
keep_confidence:Falsewhether to store the detection confidence of the tracked objects in the out_field
skip_failures:Truewhether to gracefully continue without raising an error if tracking fails for a video
progress:Falsewhether to render a progress bar (True/False), use the default value fiftyone.config.show_progress_bars (None), or a progress callback function to invoke instead
@staticmethod
def track_sample(sample, in_field, out_field='ds_tracks', max_age=5, keep_confidence=False): (source)

Performs object tracking using the DeepSort algorithm on the given video sample.

DeepSort is an algorithm for tracking multiple objects in video streams based on deep learning techniques. It associates bounding boxes between frames and maintains tracks of objects over time.

Parameters
samplea fiftyone.core.sample.Sample
in_fieldthe name of the frame field containing fiftyone.core.labels.Detections to track
out_field:"ds_tracks"the name of a frame field to store the output fiftyone.core.labels.Detections with tracking information. The "frames." prefix is optional
max_age:5the maximum number of missed misses before a track is deleted
keep_confidence:Falsewhether to store the detection confidence of the tracked objects in the out_field