A straightforward implementation of the SORT tracking algorithm. It uses a custom Kalman Filter to help predict where objects will be and matches them with new detections. It uses YOLO for object detection.
- 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
pip install -r requirements.txt
python sort.py
This implementation reflects my own learning journey, drawing on insights from the structure, code, and techniques found in: