Skip to content

ManuelZ/sort-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

SORT Tracker with Kalman Filter

An implementation of the SORT tracking algorithm using a custom Kalman Filter for prediction of objects' positions. Detections are provided by YOLOv11 and tracked objects are updated by associating predictions with new observations.

  • The multi-object tracking system monitors multiple objects (e.g., vehicles) within video sequences.
  • A Kalman Filter is employed to estimate an object's position, even when the object is not detected in a given frame.
  • The Hungarian Algorithm constructs a cost matrix (often based on IoU) to optimally match new detections with predictions. If no satisfactory match is found, a new tracker is initiated.
  • Bounding boxes are annotated with identification numbers for verification of the tracking process.

The Kalman Filter code can be found on: https://github.com/ManuelZ/Kalman-Filter

Some rules to show the tracking boxes differ from the original paper code.

MOT16-13-annotated.mp4

Requirements

pip install -r requirements.txt

How to run

python sort.py

References

This implementation reflects my own learning journey, drawing on insights from the structure, code, and techniques found in:

About

A straightforward implementation of the SORT tracking algorithm.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages