YOLOv8 Object Tracking using PyTorch, OpenCV and DeepSORT
The google colab file link for yolov8 object detection and tracking is provided below, you can check the implementation in Google Colab, and its a single click implementation, you just need to select the Run Time as GPU, and click on Run All.
git clone https://github.com/MuhammadMoinFaisal/YOLOv8-DeepSORT-Object-Tracking.git
cd YOLOv8-DeepSORT-Object-Tracking
pip install -e '.[dev]'
cd ultralytics/yolo/v8/detect
https://drive.google.com/drive/folders/1kna8eWGrSfzaR6DtNJ8_GchGgPMv3VC8?usp=sharing
After downloading the DeepSORT Zip file from the drive, unzip it go into the subfolders and place the deep_sort_pytorch folder into the yolo/v8/detect folder
Downloading a Sample Video from the Google Drive
gdown "https://drive.google.com/uc?id=1rjBn8Fl1E_9d0EMVtL24S9aNQOJAveR5&confirm=t"
Run the code with mentioned command below.
For yolov8 object detection + Tracking
python predict.py model=yolov8l.pt source="test3.mp4" show=True
https://drive.google.com/drive/folders/1awlzTGHBBAn_2pKCkLFADMd1EN_rJETW?usp=sharing
python predict.py model=yolov8l.pt source="test3.mp4" show=True
YouTube Link