class documentation
Undocumented
Static Method | track |
Performs object tracking using the DeepSort algorithm on the given video samples. |
Static Method | track |
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) ¶
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 | a
fiftyone.core.collections.SampleCollection |
in | the name of a frame field containing
fiftyone.core.labels.Detections to track. The
"frames." prefix is optional |
out | the name of a frame field to store
the output fiftyone.core.labels.Detections with
tracking information. The "frames." prefix is optional |
max | the maximum number of missed misses before a track is deleted |
keepFalse | whether to store the detection confidence of the tracked objects in the out_field |
skipTrue | whether to gracefully continue without raising an error if tracking fails for a video |
progress:False | whether 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) ¶
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 | |
sample | a fiftyone.core.sample.Sample |
in | the name of the frame field containing
fiftyone.core.labels.Detections to track |
out | the name of a frame field to store the
output fiftyone.core.labels.Detections with tracking
information. The "frames." prefix is optional |
max | the maximum number of missed misses before a track is deleted |
keepFalse | whether to store the detection confidence of the tracked objects in the out_field |