SORT-in-cpp is a MOT algorithm in cpp ported from SORT. It is much faster than the original one and is same with the original in all metrics.
- opencv
- eigen
- glog
Only opencv needs to be installed manually. Eigen and glog are in thirdparty directory and doesn't need to be installed.
- download MOT15 data and unzip MOT15.zip to somewhere, e.g. path/to/MOT15.
git clone https://github.com/wangziren1/SORT-in-cpp.git
cd SORT-in-cpp
ln -s path/to/MOT15 mot_benchmark
mkdir build && cd build
cmake ..
make
cd build
GLOG_logtostderr=1 ./MOT15/MOT15
The tracking results will be in output directory.
The tracking is evaluated by TrackEval.
- install
git clone https://github.com/JonathonLuiten/TrackEval.git
cd TrackEval
pip3 -r install minimum_requirments.txt
- prepare data
download data and unzip it to TrackEval directory.
cd TrackEval/data/trackers/mot_challenge/MOT15-train
mkdir SORT_c++ && cd SORT_c++
cp -r path/to/output .
mv output data
- evaluate
python3 scripts/run_mot_challenge.py --BENCHMARK MOT15 --SPLIT_TO_EVAL train --TRACKERS_TO_EVAL SORT_c++ --METRICS HOTA CLEAR Identity VACE --USE_PARALLEL False --NUM_PARALLEL_CORES 1
- The all metrics of SORT_c++ are same as that of the origin one.