Skip to content

clip5/ByteTrackLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ByteTrackLib

This repository provides a C++ implementation of the ByteTrack algorithm with Python bindings and easy cross-compilation.

Compilation

To compile the project, follow these steps:

mkdir build && cmake ../
make -j4 install

Use -DWITH_PYTHON=true if you need to build the Python library.

Cross Compile

For rv1106 compilation, use:

cmake -DCMAKE_TOOLCHAIN_FILE=../toolchain/rv1106.toolchain.cmake ..

Dependencies

No need to download separately; dependencies are embedded within the project:

  • Eigen 3.3.9
  • pybind11-2.10.4 (optional)

Example Usage

#include "ByteTracker.h"
#include <iostream>
int main(int argc, char* argv[]) 
{
    bytetrack::ByteTracker tracker;
    for (int i = 0; i < 20; i++) 
    {
        std::vector<bytetrack::Object> objects;
        objects.push_back({0.9, 0, {100+i*10, 100, 50, 50}});
        std::vector<bytetrack::Track> tracks = tracker.update(objects);
    }
    return 0;
}

References:

Citation

@article{zhang2022bytetrack,
  title={ByteTrack: Multi-Object Tracking by Associating Every Detection Box},
  author={Zhang, Yifu and Sun, Peize and Jiang, Yi and Yu, Dongdong and Weng, Fucheng and Yuan, Zehuan and Luo, Ping and Liu, Wenyu and Wang, Xinggang},
  booktitle={Proceedings of the European Conference on Computer Vision (ECCV)},
  year={2022}
}

About

This repository provides a C++ implementation of the ByteTrack algorithm with Python bindings and easy cross-compilation.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors