Object Tracker
- Last UpdatedFeb 26, 2025
- 1 minute read
An object tracker follows detected objects during the intermediate frames between model executions and matches the existing objects to new detections. This reduces the possibility of recognitions being duplicated for the same object in different frames. It can also provide a smoother experience by updating an object's location more frequently than a model can execute.
The following code snippet provides an example of tracking using LSTrackerManager
(implemented by LSTrackerManagerImpl
) with detections from LSModelManager
(implemented by LSModelManagerParallel
):