PKF is built upon codebase of YOLOX and OC-SORT. I tested the code with Python 3.8.
Step1. Install dependencies
git clone /~https://github.com/hwcao17/pkf.git
cd pkf
pip install -r requirements.txt
python setup.py develop
Install Eigen3, you may use
sudo apt install libeigen3-dev
Install pybind11, you may use
pip install pybind11
Step2. Install the probabilistic data association
cd trackers/pkf_tracker/data_association
python setup.py install
If you have problem with pybind11
at this step, you may consider installing pybind11
using
pip install "pybind11[global]"
Step3. Install pycocotools.
pip install cython; pip install 'git+/~https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI'
Step4. Others
pip install cython_bbox pandas xmltodict
Download the pretrained models from Google Drive and put them under <pkf root>/pretrained