Uploaded January 2023 | Updated November 2026, 3 hours ago
Let's build together an application to track and count objects using Computer Vision. We used YOLOv8 for detection, ByteTrack for tracking, and the latest python library from Roboflow - Supervision for object counting.
Chapters:
0:00 Introduction
1:28 Setting up the Python environment for vehicle tracking
5:28 Using YOLOv8 for vehicle detection
6:27 Building custom inference pipeline with Supervision for a single image
12:37 Building custom inference pipeline with Supervision for a whole video
15:46 Tracking detections with ByteTrack
17:40 Counting objects crossing the line with Supervision
19:29 Training YOLOv8 Object Detection model on custom dataset
22:50 Detect, track, and count candies on the conveyor
25:50 Conclusion
Resources:
π Roboflow: roboflow.com
π Roboflow Universe: universe.roboflow.com
β Supervision repository: github.com/roboflow/supervision
π Track and Count with YOLOv8 Blogpost: blog.roboflow.com/yolov8-tracking-and-counting
π Track and Count Vehicles with YOLOv8 + ByteTRACK + Supervision Notebook: colab.research.google.com/github/roboflow-ai/notebooks/blob/main/notebooks/how-to-track-and-count-vehicles-with-yolov8.ipynb
πHow to Train YOLOv8 Object Detection on a Custom Dataset Notebook: colab.research.google.com/github/roboflow-ai/notebooks/blob/main/notebooks/train-yolov8-object-detection-on-custom-dataset.ipynb
π¬ Count People in Zone | 3 Models: YOLOv5, YOLOv8 and Detectron2: youtu.be/l_kf9CfZ_8M
π¬ YOLOv8 Object Counting in Real-time with Webcam, OpenCV and Supervision: youtu.be/QV85eYOb7gk
π¬ YOLOv8: How to Train for Object Detection on a Custom Dataset: youtu.be/wuZtUMEiKWY
π¬ Instance Segmentation in 12 minutes with YOLOv8 and Python: youtu.be/pFiGSrRtaU4
π Learn more about YOLOv8 and other Computer Vision models with Roboflow Notebooks: github.com/roboflow/notebooks
Stay updated with the projects I'm working on at github.com/roboflow and github.com/SkalskiP! β
Let's build together an application to track and count objects using Computer Vision. We used YOLOv8 for detection, ByteTrack for tracking, and the latest python library from Roboflow - Supervision for object counting.
Chapters:
0:00 Introduction
1:28 Setting up the Python environment for vehicle tracking
5:28 Using YOLOv8 for vehicle detection
6:27 Building custom inference pipeline with Supervision for a single image
12:37 Building custom inference pipeline with Supervision for a whole video
15:46 Tracking detections with ByteTrack
17:40 Counting objects crossing the line with Supervision
19:29 Training YOLOv8 Object Detection model on custom dataset
22:50 Detect, track, and count candies on the conveyor
25:50 Conclusion
Resources:
π Roboflow: roboflow.com
π Roboflow Universe: universe.roboflow.com
β Supervision repository: github.com/roboflow/supervision
π Track and Count with YOLOv8 Blogpost: blog.roboflow.com/yolov8-tracking-and-counting
π Track and Count Vehicles with YOLOv8 + ByteTRACK + Supervision Notebook: colab.research.google.com/github/roboflow-ai/notebooks/blob/main/notebooks/how-to-track-and-count-vehicles-with-yolov8.ipynb
πHow to Train YOLOv8 Object Detection on a Custom Dataset Notebook: colab.research.google.com/github/roboflow-ai/notebooks/blob/main/notebooks/train-yolov8-object-detection-on-custom-dataset.ipynb
π¬ Count People in Zone | 3 Models: YOLOv5, YOLOv8 and Detectron2: youtu.be/l_kf9CfZ_8M
π¬ YOLOv8 Object Counting in Real-time with Webcam, OpenCV and Supervision: youtu.be/QV85eYOb7gk
π¬ YOLOv8: How to Train for Object Detection on a Custom Dataset: youtu.be/wuZtUMEiKWY
π¬ Instance Segmentation in 12 minutes with YOLOv8 and Python: youtu.be/pFiGSrRtaU4
π Learn more about YOLOv8 and other Computer Vision models with Roboflow Notebooks: github.com/roboflow/notebooks
Stay updated with the projects I'm working on at github.com/roboflow and github.com/SkalskiP! β










