sudo snap install yt-dlp
yt-dlp https://youtu.be/2SATljljXCY?si=y8Lbldme2RhQADCP -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4" --download-sections "*00:00:00-00:00:17" -o ./resource/sample.mp4
Run the following command to install the necessary libraries:
pip install -r requirements.txt
- Inference using yolov8 only.
python yolov8.py
- Inference using yolov8 + sort.
python yolov8_sort.py
You can see the inference results during execution or check them in the result folder.
My YOLO+SORT implementation shows promising object tracking, maintaining IDs across frames. However, ID switches still occur during occlusions.
- YOLOv8 Result
- YOLOv8 + SORT Result
I plan to implement Deep SORT in future updates to improve tracking stability, especially in challenging scenarios.