This repository implements StrongSORT which is an upgraded version of DeepSORT, with YOLOv5 detections, which is fine tuned on custom dataset, to track cars in a parking lot. It has an additional security feature implemented which activates an alert as soon as a car moves from its position.
%cd Object_Tracking-with-StrongSORT
!pip install -r requirements.txt # install dependencies
!git clone https://github.com/KaiyangZhou/deep-person-reid.git
%cd deep-person-reid
!pip install -r requirements.txt
!python setup.py develop
%cd ../
!git clone https://github.com/ultralytics/yolov5
!python track.py --yolo-weights best_yolov5.pt --strong-sort-weights osnet_x0_25_msmt17.pt --source test.mp4 --save-vid