donwload from here https://github.com/noorkhokhar99/Real-Time-Object-Segmentation-and-Tracking-using-YOLOv8-Vehicles-Counting/tree/main/deep_sort_pytorch deep sort pytorch and put folder segment
- Clone the repository.
git clone https://github.com/noorkhokhar99/YOLOv8-COMPLETE-Tutorial-Object-Detection-Segmentation-Classification.git
- Goto the cloned folder.
cd YOLOv8-COMPLETE-Tutorial-Object-Detection-Segmentation-Classification
- Upgrade pip with mentioned command below.
pip install --upgrade pip
- Install requirements with mentioned command below.
pip install -r requirements.txt
-
Run the code with mentioned command below.
-
Run for webcam
python test.py
python predict.py model=yolov8l.pt source="test3.mp4" show=True