This repo is a packaged version of theOcSortalgorithm.
pip install ocsort
fromocsort.ocsortimportOCSort
tracker=OCSort(args)
forimageinimages:
dets=detector(image)
online_targets=tracker.update(dets)
@article{cao2022observation,
title={Observation-Centric SORT: Rethinking SORT for Robust Multi-Object Tracking},
author={Cao, Jinkun and Weng, Xinshuo and Khirodkar, Rawal and Pang, Jiangmiao and Kitani, Kris},
journal={arXiv preprint arXiv:2203.14360},
year={2022}
}