
Welcome to Build 7 Real-Time Computer Vision Apps with YOLO26! In this introduction, you’ll get a quick look at everything we’ll build together: region-based person counting, intensity heatmaps, distance measurement, vehicle speed estimation, an AI workout counter, face blurring with a custom YOLO model, and traffic analysis with IN/OUT counting.
You’ll also see how the course works. Every lecture is project-based, so you’ll write the code step by step and finish each section with a working application. Basic Python is all you need to get started, and no prior YOLO or OpenCV experience is required.
Watch this video to see what’s ahead, then jump into the first project.
In this video, we build a region-based people counter from scratch using Ultralytics YOLO26, OpenCV and Python. The program detects and tracks every person in a video, then counts how many are inside each region you draw, updating live on every frame.
What you’ll learn:
Detecting and tracking people with YOLO26
Defining counting regions as polygons, so they can be any shape
Checking whether a person is inside a region using the centre of their bounding box
Drawing boxes, track IDs, regions and live counts on the video
Improving detection of small and far-away people (larger imgsz, lower conf, ByteTrack)
Saving the annotated output video
In this lecture, you'll learn how to build an intensity heatmap from scratch using Ultralytics YOLO26, OpenCV, and NumPy. We detect objects in a video, track where they appear over time, and turn that activity into a color overlay that shows the busiest areas in red. No built-in heatmap solution is used, so you'll understand every step and can adapt it to your own projects.
In this tutorial, we build an object distance calculator from scratch using Ultralytics YOLO26 and OpenCV. Instead of using Ultralytics’ built-in DistanceCalculation solution, we write the selection and distance logic ourselves.
What you’ll learn:
Detecting and tracking people with YOLO26
Selecting objects with mouse clicks (left click to select up to two, right click to clear)
Finding the foot point of each bounding box
Measuring the distance between two selected objects in pixels
Drawing the distance line and label on the video
Saving the annotated output video
In this lecture, we build a vehicle speed estimation application using Ultralytics YOLO26, and we write the speed logic ourselves instead of using the built-in solution.
YOLO26 handles object detection and tracking, so every car, motorcycle, bus and truck gets a persistent ID as it moves through the video. From there, we write our own code to turn that tracking data into speed.
What you will learn
How to detect and track vehicles with YOLO26
Why measuring speed in pixels doesn’t work, and how a perspective transform fixes it
How to mark the road area with 4 points and map it to real-world meters
How to calculate speed from distance and time, using frame numbers and FPS
How to smooth the readings so the displayed speeds stay stable
How to draw the results on the video, with speeds shown only for vehicles inside the calibrated zone
In this video, we build an AI workout counter using YOLO26 pose estimation, OpenCV and Python. It detects the keypoints of the body, calculates the angle of a joint on every frame, and counts each completed movement automatically.
We wrap everything in one simple, reusable file (ai_gym.py). To switch exercises, you only change the keypoints and the up/down angles.
Exercises tested in this video:
Push-ups
Squats
Leg press
Leg extension
In this video, I show you how to blur faces in videos using Python, OpenCV and a custom fine-tuned YOLO face detection model. Instead of using the built-in Ultralytics solution, we implement the blurring logic from scratch in under 50 lines of code, so you understand exactly how it works.
What you’ll learn:
Running a custom YOLO model on video frames
Padding bounding boxes and keeping them inside the frame
Applying a Gaussian blur to the face region only
Scaling the blur strength to the face size
Saving the result as a new video with a live preview
In this tutorial, you’ll learn how to build a vehicle counting system with YOLO26 and Python. We detect and track cars, trucks, buses and motorcycles in a traffic video, then count how many vehicles are entering (IN) and leaving (OUT) as they cross virtual lines.
What you’ll learn
Detecting and tracking vehicles with YOLO26
Counting vehicles IN and OUT with virtual lines
Counting by vehicle type (car, truck, bus, motorcycle)
Showing live counts on the video and saving the output automatically
Build 7 Real-World Computer Vision Projects with Ultralytics YOLO26 and Python
Want to move beyond basic object detection and build computer vision applications that solve real problems? In this hands-on course, you’ll use Ultralytics YOLO26 and Python to build seven complete projects, from counting people in a region to tracking workout reps with AI.
Every lecture is project-based. You’ll write the code step by step, understand why it works, and finish with working applications you can add to your portfolio or adapt for your own work.
What you’ll build
Region-Based Object Counting: Count people inside custom regions of a video.
Intensity Heatmaps: Build a heatmap from scratch to see where objects and activity concentrate.
Distance Measurement: Measure the distance between detected objects in a video.
Vehicle Speed Estimation: Track vehicles and estimate their speed from scratch.
AI Workout Counter: Count push-ups, squats, leg presses, and leg extensions automatically.
Face Blurring with a Custom YOLO Model: Detect and blur faces in videos using a custom YOLO model and OpenCV.
Traffic Analysis: Count cars, trucks, and buses entering and leaving the frame (IN/OUT counting).
What you’ll learn
How to use Ultralytics YOLO26 for detection and tracking in real projects
How to process video frame by frame with Python and OpenCV
How to define regions and lines for counting and analytics
How to turn raw detections into useful outputs like counts, speeds, distances, and heatmaps
How to apply a custom-trained YOLO model to a real task
How to structure your code so you can reuse it in other computer vision projects