Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

10 Commits

Repository files navigation

Introduction

This is a C++ implementation of SORT, a simple online and realtime tracking algorithm for 2D multiple object tracking in video sequences. Original Python code and publication infomation found at https://github.com/abewley/sort , By Alex Bewley

This code has been tested on Windows with Visual Studio Community 2013 + OpenCV 2.4.8. It depends on OpenCV without any other libs, so theoretically it can be compiled on Linux with OpenCV support.

Detection data in The ./data folder come from the original directory of SORT. They are the Faster RCNN detections for the MOT benchmark sequences in the benchmark format, created by Alex Bewley.

The Hungarian algorithm implementation comes from https://github.com/mcximing/hungarian-algorithm-cpp, which is derived from Markus Buehren's code.

The license is also kept to the GPLv3 License.

Results

The overall results of code are close to those of original SORT implmentation.

Using the MOT challenge devkit this code produces the following results.

SequenceRcll Prcn FARGT MT PT MLFP FN IDs FMMOTA MOTP MOTAL
TUD-Campus67.4 91.0 0.348 5 3 024 117 8 1258.5 74.8 60.5
ETH-Sunnyday77.8 81.7 0.9230 12 15 3324 412 22 5759.2 74.6 60.3
ETH-Pedcross251.5 89.8 0.44133 16 61 56366 3037 83 11844.3 74.6 45.6
ADL-Rundle-844.3 75.3 1.5028 6 15 7984 3779 109 21428.2 70.9 29.8
Venice-242.6 64.7 2.7726 8 11 71661 4098 63 11218.5 72.8 19.3
KITTI-1767.9 92.6 0.269 1 8 037 219 13 1660.6 72.6 62.4
Overall49.5 77.1 1.28234 48 113 733396 11662 298 52933.5 73.1 34.8

A bit worse than original SORT but not significantly. This may due to my keeping the default parameters of Kalman filters. The speed of this implementation is at about 1800 FPS, or ~3 seconds over 5500 frames on my machine, with the Debug configuration.

About

C++ port of Simple online and realtime tracking(SORT)

Resources

Stars

501 stars

Watchers

9 watching

Forks

Releases

Packages

Used by

Contributors

Languages