DeepSORTVideoTracker
Description
The DeepSORTVideoTracker
System object™ is a tracker capable of processing detections of multiple targets from a video
using the Deep Simple Online and Realtime (DeepSORT) algorithm[1]. The tracker initializes,
confirms, corrects, predicts (performs coasting), and deletes tracks. Inputs to the tracker
are bounding boxes and appearance vectors. The bounding boxes are in the form of [x y
w h], where x and y define the upper left
corner of the box, w and h define the width and height
of the box, respectively. The tracker outputs tracks with the same bounding box definition.
The appearance vector is a floating-point vector such as the ones reported by
re-identification (reID) networks.
This tracker supports the outputs of object detectors and reID networks from the
Computer Vision Toolbox™. For more information, see Choose an Object Detector (Computer Vision Toolbox) and reidentificationNetwork (Computer Vision Toolbox).
To track targets in a video using this object:
Create the
DeepSORTVideoTrackerobject and set its properties.Call the object with arguments, as if it were a function.
To learn more about how System objects work, see What Are System Objects?
Creation
To create a DeepSORTVideoTracker
System object, use the videoTracker
function with "deepsort" algorithm. For example:
tracker = videoTracker("deepsort")Properties
Usage
Syntax
Description
returns a list of confirmed tracks updated from a video based on the input bounding boxes
and appearance vectors.confirmedTracks = tracker(bboxes,appearance)
[
also provides a list of tentative tracks and a list of all tracks.
Tentative tracks are tracks that have not yet reached the threshold specified in the
confirmedTracks,tentativeTracks,allTracks] = tracker(___)NumUpdatesForConfirmation property.
Input Arguments
Output Arguments
Object Functions
To use an object function, specify the
System object as the first input argument. For
example, to release system resources of a System object named obj, use
this syntax:
release(obj)
Examples
References
[1] Wojke, Nicolai, Alex Bewley, and Dietrich Paulus. "Simple online and realtime tracking with a deep association metric." In 2017 IEEE international conference on image processing (ICIP), pp. 3645-3649.
Version History
Introduced in R2026a