yolov8-object-tracking
Features
- Object Tracks
- Different Color for every track
- Video/Image/WebCam/External Camera/IP Stream Supported
Coming Soon
- Selection of specific class ID for tracking
- Development of dashboard for YOLOv8
Train YOLOv8 on Custom Data
Steps to run Code
- Clone the repository
https://github.com/RizwanMunawar/yolov8-object-tracking.git
- Goto cloned folder
cd yolov8-object-tracking
- Install the ultralytics package
pip install ultralytics==8.0.0
- Do Tracking with mentioned command below
#video file
python yolo\v8\detect\detect_and_trk.py model=yolov8s.pt source="test.mp4" show=True
#imagefile
python yolo\v8\detect\detect_and_trk.py model=yolov8m.pt source="path to image"
#Webcam
python yolo\v8\detect\detect_and_trk.py model=yolov8m.pt source=0 show=True
#External Camera
python yolo\v8\detect\detect_and_trk.py model=yolov8m.pt source=1 show=True
- Output file will be created in the working-dir/runs/detect/train with original filename
Results
YOLOv8s Object Tracking | YOLOv8m Object Tracking |
References
My Articles
- https://muhammadrizwanmunawarvisionai.blogspot.com/2023/04/maximizing-efficiency-on-construction.html
π₯ - https://muhammadrizwanmunawarvisionai.blogspot.com/2023/03/instance-segmentation-vs-semantic.html
β - https://muhammadrizwanmunawarvisionai.blogspot.com/2023/03/mastering-image-classification.html
π₯ - https://muhammadrizwanmunawarvisionai.blogspot.com/2023/03/object-detection-in-agriculture.html
β - https://muhammadrizwanmunawarvisionai.blogspot.com/2023/03/techniques-for-accurate-data-annotation.html
β - https://muhammadrizwanmunawarvisionai.blogspot.com/2023/03/object-tracking-using-bytetrack.html
π₯ - https://muhammadrizwanmunawarvisionai.blogspot.com/2023/03/pose-estimation-computer-vision.html
β - https://chr043416.medium.com/train-yolov8-on-custom-data-6d28cd348262
- https://medium.com/augmented-startups/roadmap-for-computer-vision-engineer-45167b94518c
- https://medium.com/augmented-startups/yolor-or-yolov5-which-one-is-better-2f844d35e1a1
- https://medium.com/augmented-startups/train-yolor-on-custom-data-f129391bd3d6
- https://medium.com/augmented-startups/develop-an-analytics-dashboard-using-streamlit-e6282fa5e0f
LinkedIn Post on YOLOv8 Release
Don't forget to check out my Services
For more details, you can reach out to me on Medium or can connect with me on LinkedIn