⚡ Day 9

How YOLO Works

YOLO stands for "You Only Look Once." It's one of the most famous object detectors ever — fast enough to run on live video. The secret? Instead of scanning a picture a thousand times, it splits it into a grid and spots everything in a single glance. Let's see how.

↓ one look
🏷️ The pro wordYOLO = 'You Only Look Once', a single-stage detector: the grid predicts boxes + confidence + class in one pass, cleaned up with Non-Max Suppression (NMS) and helped by anchor boxes.
🔲 The Big Idea · One Grid

Split the picture into a grid

YOLO lays a grid over the whole image. Each little cell has one job: "Is the center of an object in me? If so, what is it and how big?" Every cell answers at the same time — that's why it's so fast. The glowing cells are the ones "responsible" for an object.

Old detectors slid a little window over the image hundreds of times (slow!). YOLO looks once — the whole grid predicts together. That's the "You Only Look Once" trick.
🧹 Lab · Clean Up the Boxes

From messy guesses to clean boxes

Raw YOLO actually predicts tons of overlapping boxes — many for the same object, each with a confidence. Two clean-up steps fix it: (1) drop low-confidence boxes with a threshold, then (2) NMS — for a pile of overlapping boxes, keep the most confident one and delete its duplicates.

0.00

confidence threshold (drop boxes below this)

boxes: 0
🎯 Goal: end up with exactly 3 clean boxes — one per object. Try raising the threshold a bit, then tap Apply NMS.
NMS uses the overlap score (IoU) from Day 7 to decide which boxes are duplicates!
⚡ Why It's Fast

One look vs a thousand

Watch the difference. The old way slides a window across every spot. YOLO looks once. The counter shows how many "looks" each one takes.

looks: 0
🚀 Beyond the Basics

How the pros really do it

Our grid demo is the core idea. Here's the real YOLO world:

🟢

The grid idea (what you saw)

✅ Shows why 'one look' is fast. ⚠️ Simplified.

🚀

Real YOLO

Ultralytics YOLOv8/v11 - runs in a few lines and detects 80+ objects in real time.

🔀

Alternatives

SSD, EfficientDet (fast), DETR (transformer, anchor-free). Pick by speed vs accuracy.

🏷️ Pro names to look upYOLO / Ultralytics · single-stage detector · anchors · NMS.

🎉 Day 9 Complete!

You now understand the world's most famous detector: YOLO splits the image into a grid, predicts everything in one look, then cleans up with a confidence threshold and NMS.

Day 10: Ship It! →
Tomorrow — the finale: you'll put everything from Module 1 together into your own working vision app, and earn your Module 1 trophy. 🚀
AI Adventure · Module 1 · Day 9 — made for young inventors 🚀