Skip to content

tensorworksio/mot.cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multi Object Tracking

Yet another C++ adaptation of SOTA multi-object tracking algorithm

Demo

Supported Trackers

Dataset

Get the MOT dataset of your choice from MOT website

cd data
wget https://motchallenge.net/data/MOT20.zip
unzip MOT20.zip && rm MOT20.zip

Configure

In config folder, add your custom tracker config:

SORT
{
"tracker": {
    "name": "sort",
    "kalman": {
        "time_step": 1,
        "process_noise_scale": 1.0,
        "measurement_noise_scale": 1.0
    },
    "max_time_lost": 15,
    "match_thresh": 0.3
}
}
BoTSORT
{
    "tracker": {
        "name": "botsort",
        "kalman": {
            "time_step": 1,
            "process_noise_scale": 1.0,
            "measurement_noise_scale": 1.0
        },
        "max_time_lost": 15,
        "track_high_thresh": 0.5,
        "track_low_thresh": 0.1,
        "new_track_thresh": 0.6,
        "first_match_thresh": 0.3,
        "second_match_thresh": 0.1,
        "unconfirmed_match_thresh": 0.2,
        "proximity_thresh": 0.5,
        "appearance_thresh": 0.9
    }
}

Compile

meson setup build
meson compile -C build

Run

cd build/app
./mot -h

# Example
./mot -i data/MOT20/train/<seq-name> -c config/sort.json --display

Evaluate

chmod +x mot-eval.sh
./mot-eval.sh --dataset data/MOT20 --split train --config app/config/sort.json --save
# experiment output available in runs folder

Run with your detector

https://github.com/tensorworksio/TensorRT-Vision/tree/main/app/mot

About

SOTA Multi Object Tracker in Cpp

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published