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.
- Clone the repository
git clone https://github.com/MuhammadMoinFaisal/YOLOv8-DeepSORT-Object-Tracking.git
- Goto the cloned folder.
cd YOLOv8-DeepSORT-Object-Tracking
- Install the dependecies
pip install -e '.[dev]'
- Setting the Directory.
cd ultralytics/yolo/v8/detect
-
Run the code with mentioned command below.
-
For yolov8 object detection + Tracking + Vehicle Counting
python predict.py model=yolov8l.pt source="Highway_Traffic.mp4" show=True
- Video Tutorial Link
YouTube Link