Tuesday, 24 November 2026 | Updating Daily AI insight, written for builders

Real-Time Object Detection with YOLO: A Practical Guide (2026)

Updated · Originally published

If you’ve seen an AI demo that draws boxes around people, cars, and objects in a live video — instantly, as the video plays — you’ve almost certainly seen YOLO. It’s one of the most widely used real-time object detection systems in computer vision, and it powers everything from security cameras to robotics. This guide explains what YOLO is, how it works, and how to start using it.

Key takeaways

  • YOLO (“You Only Look Once”) detects and locates multiple objects in an image in a single pass.
  • That single pass is why it’s fast enough for real-time video.
  • It has evolved through many versions — YOLOv9 arrived in February 2024, and YOLO26 is the newest model in the Ultralytics package as of November 2026.
  • Published speed: Ultralytics lists YOLO26n at 1.7 ms per image on an NVIDIA T4 GPU (TensorRT) and 38.9 ms on CPU (ONNX, on an Amazon EC2 cloud server), against the roughly 33 ms each frame gets at 30 frames per second.
  • It’s beginner-accessible — modern YOLO tools let you run detection in a few lines of code.

What is object detection?

First, the task YOLO solves. Object detection answers two questions about an image at once:

  • What objects are present? (classification)
  • Where is each one? (localization — a bounding box around it)

This is harder than plain image classification, which only says “this image contains a dog.” Object detection says “there’s a dog here, a person there, and two cars over there” — identifying and locating every object, often many at once.

What is YOLO?

YOLO stands for “You Only Look Once.” The name captures its key innovation. Earlier detection systems were slow because they worked in stages: first propose many regions that might contain an object, then examine each region separately. Looking at many candidate regions one by one takes time — too much for live video.

YOLO does it differently. It looks at the entire image just once and predicts all the objects and all their boxes in a single pass through one neural network. One look, all the answers.

That design is why YOLO is fast. Real-time detection means processing many frames per second, and YOLO’s single-pass approach makes that achievable even on modest hardware — which is why it became a common choice for real-time applications.

How YOLO works

The simplified version of what happens inside:

  1. Divide the image into a grid. YOLO conceptually splits the image into a grid of cells.
  2. Each cell makes predictions. Every cell predicts bounding boxes for objects centered in it, a confidence score for each box, and what class of object it is.
  3. Combine everything. All predictions across the whole grid are gathered together.
  4. Clean up overlaps. The same object often gets predicted by several nearby cells. A step called non-maximum suppression removes the duplicates, keeping only the best box for each object.

The result: one neural network, one pass, a complete set of labeled boxes — fast.

The evolution of YOLO

YOLO is not a single fixed model — it’s a family that has improved steadily since its first release. Each new version has pushed the same two goals: higher accuracy and greater speed, while staying efficient enough for real-time use. YOLOv9 arrived in February 2024, and the Ultralytics package now supports versions from YOLOv3 up to YOLO26, its newest model as of November 2026.

For practical purposes, the lesson is simple: use a recent, well-supported version. Newer releases usually aim to improve both speed and accuracy, and they come with mature, easy-to-use tooling. Don’t agonize over the exact version number — pick a current one with good documentation.

Where YOLOv9 fits: the official numbers

YOLOv9 comes from the paper “YOLOv9: Learning What You Want to Learn Using Programmable Gradient Information” by Chien-Yao Wang, I-Hau Yeh and Hong-Yuan Mark Liao, first posted on arXiv on 21 February 2024. Its official GitHub repository publishes these results on the MS COCO dataset at a 640-pixel input:

Model AP (COCO val) AP50 Parameters FLOPs
YOLOv9-T 38.3% 53.1% 2.0M 7.7G
YOLOv9-S 46.8% 63.4% 7.1M 26.4G
YOLOv9-M 51.4% 68.1% 20.0M 76.3G
YOLOv9-C 53.0% 70.2% 25.3M 102.1G
YOLOv9-E 55.6% 72.8% 57.3M 189.0G

AP is the standard COCO accuracy score (higher is better), and AP50 is the looser version that counts a box as correct at 50% overlap with the true object. The official README publishes no speed or latency figures for YOLOv9, so we do not quote any. The Ultralytics package can train, validate, run and export YOLOv9, but its newest model is YOLO26, whose published COCO scores run from 40.9 (YOLO26n) to 57.5 (YOLO26x) mAP; its speed figures are in the hardware section below.

What YOLO is used for

Real-time detection is useful almost everywhere:

  • Security and surveillance — detecting people, vehicles, or unattended objects in camera feeds.
  • Autonomous vehicles — spotting cars, pedestrians, and obstacles, part of the wider self-driving perception system.
  • Retail — counting customers, analyzing foot traffic, monitoring shelves.
  • Manufacturing — spotting defects and missing parts on production lines.
  • Agriculture — counting crops, livestock, or detecting pests from drone footage.
  • Sports analytics — tracking players and the ball in real time.
  • Robotics — letting robots see and respond to objects around them.

Anywhere a machine needs to understand what’s in a video as it happens, YOLO is a strong fit.

YOLO’s strengths and limits

Strengths Limitations
Very fast — runs in real time Can struggle with very small objects
Good accuracy for its speed Densely packed objects can be missed
Sees the whole image — fewer false positives on background Slightly less accurate than the slowest, heaviest detectors
Mature, beginner-friendly tooling Best results still need task-specific training data

The overarching trade-off: YOLO optimizes for the balance of speed and accuracy. Some heavier research models score higher on accuracy but run too slowly for live video. For many practical applications, YOLO’s balance is the right one.

How to get started with YOLO

The barrier to entry is low in 2026:

  1. Use a modern YOLO library. Current YOLO tooling is well-packaged — you can install it and run detection with a recent pre-trained model in just a few lines of Python.
  2. Start with a pre-trained model. Ultralytics’ pretrained detection models already recognize the 80 object classes of the COCO dataset out of the box. Run one on your own images or webcam to see detection working immediately.
  3. Train on your own data when needed. To detect something specific — a particular product, a custom category — you collect and label example images and fine-tune YOLO on them. Mature tools make this process straightforward.
  4. Mind your hardware. YOLO runs on a regular computer, but a GPU makes both training and high-frame-rate detection much faster.

What hardware do you need to run YOLO in real time?

“Real time” has a concrete meaning: at 30 frames per second, each frame gets about 33 milliseconds (1,000 ms divided by 30). The model, plus the resizing and box clean-up around it, has to fit inside that budget, or the feed stutters and drops frames. Whether you clear that bar depends mostly on the model size and the hardware underneath.

The clearest published numbers come from Ultralytics, the company behind the ultralytics Python package. For its newest models, YOLO26, it lists the per-image times below at a 640-pixel input. Ultralytics says the speeds are averaged over COCO validation images on an Amazon EC2 P4d instance, with CPU times from an ONNX export and GPU times from a TensorRT export; its GPU column is labelled NVIDIA T4.

Model COCO mAP 50-95 CPU, ONNX (ms per image) NVIDIA T4, TensorRT (ms per image) Parameters
YOLO26n 40.9 38.9 1.7 2.4M
YOLO26s 48.6 87.2 2.5 9.5M
YOLO26m 53.1 220.0 4.7 20.4M
YOLO26l 55.0 286.2 6.2 24.8M
YOLO26x 57.5 525.8 11.8 55.7M

Two things stand out. In Ultralytics’ CPU measurement, even the smallest model (38.9 ms) already sits just outside the 33 ms budget, so a CPU is fine for learning and batch jobs but rarely enough for smooth live video. That CPU figure comes from a cloud server, not a laptop, so your own machine may be faster or slower. On the T4 GPU, every size fits inside the budget, and the GPU time is roughly 23 to 47 times shorter than the CPU time, depending on model size. That ratio is our arithmetic from Ultralytics’ table, and the two columns use different runtimes. The T4 is a data-centre card and the table has no desktop GeForce figures, so treat it as a reference point rather than a promise for your PC.

Three practical tiers cover almost every project:

Setup Best for What the published figures show
CPU only Learning, batch image processing, prototyping YOLO26n at 38.9 ms per image (ONNX, measured by Ultralytics on an Amazon EC2 P4d cloud server; laptop and desktop CPUs will differ): just outside the 30 FPS budget
NVIDIA GPU Training custom models, high-FPS streams YOLO26n to YOLO26x at 1.7 to 11.8 ms per image on a T4 (TensorRT)
Edge board (NVIDIA Jetson Orin Nano Super Developer Kit) Deployed cameras, robotics, on-site inference YOLO26n at 4.57 ms per image with TensorRT FP16, 15.60 ms in plain PyTorch

A few things move the needle more than buying a bigger card. Model size matters most: on the same T4, YOLO26x takes about seven times as long as YOLO26n (11.8 vs 1.7 ms) in exchange for higher accuracy (57.5 vs 40.9 mAP). Optimisation is not optional on the edge: Ultralytics’ Jetson guide says TensorRT “offers the highest inference performance on NVIDIA Jetson devices”. Its Orin Nano Super benchmark lists YOLO26n at 15.60 ms per image in PyTorch and 4.57 ms after a TensorRT FP16 export, about 3.4 times faster, and YOLO26x drops from 98.44 ms to 32.60 ms. Those Jetson times exclude pre- and post-processing. And input resolution is a direct lever: all of the figures above use a 640-pixel input. As a rough estimate rather than a published benchmark, a detector’s compute grows with the number of pixels, so a 320-pixel input does around a quarter of the work, usually at some cost in accuracy on small objects; real speed-ups tend to be smaller because of fixed overheads.

For training, a CUDA-capable NVIDIA GPU is the usual choice, and more VRAM lets you train the larger variants and use bigger batches. If you are not sure what your card has, see how to check your VRAM.

The honest takeaway: you do not need a data-centre GPU to use YOLO in real time. Ultralytics’ own Jetson figures put a TensorRT-optimised YOLO26n at 4.57 ms per image on a Jetson Orin Nano Super developer board, well inside the 33 ms budget, while its CPU figure, measured on a cloud server, suggests a CPU alone will struggle with smooth live video. Match the model variant to your hardware before you start, not after.

FAQ

What is YOLO in object detection?

YOLO (“You Only Look Once”) is a real-time object detection system. It identifies multiple objects in an image and draws a bounding box around each one — telling you both what objects are present and where they are — using a single pass through one neural network.

Why is YOLO so fast?

YOLO analyzes the entire image in a single pass through one neural network, predicting all objects and boxes at once. Older two-stage detection systems examined many candidate image regions separately, which was slow. YOLO’s single-look design is what makes real-time detection possible.

Is YOLO good for beginners?

Yes. Modern YOLO libraries are well-documented and easy to use — you can run detection with a pre-trained model in just a few lines of Python. It’s one of the most accessible ways to get started with practical computer vision.

What can YOLO detect?

A YOLO model can detect whatever it was trained on. Ultralytics’ pretrained detection models cover the 80 object classes in the COCO dataset — people, vehicles, animals, everyday items — out of the box. To detect specific or custom objects, you fine-tune YOLO on your own labeled images.

Which version of YOLO should I use?

Use a recent, well-supported version. As of November 2026, YOLO26 is the newest model in the Ultralytics package, and YOLOv9 (February 2024) is still supported there for training, validation, inference and export. Rather than focusing on the exact version number, choose a current release with good documentation, and check its licence.

Can I use YOLO in a commercial product for free?

Not automatically — licensing is the most overlooked trap. The original YOLOv9 repository is released under GPL-3.0, and the Ultralytics package (which runs many YOLO versions, including YOLO26) is AGPL-3.0. Both are copyleft licences. Ultralytics’ own licensing page says an Enterprise License “is required if you want to use Ultralytics YOLO without open-sourcing your entire project”, and its list of cases that need one includes internal business tools, R&D projects that are not fully open-sourced, and customer-facing solutions where you do not want to publish your code. If you build on the GPL-3.0 YOLOv9 code instead, its own licence terms apply. Check the licence, ideally with a lawyer, before you build, not after.

How many labelled images do I need to train YOLO on my own objects?

Far fewer than training from scratch, thanks to transfer learning: Ultralytics recommends starting from pretrained weights for small to medium-sized datasets, and a first prototype can work with much less data than a production model. For a robust model, Ultralytics’ training-tips guide recommends at least 1,500 images and at least 10,000 labelled instances (objects) per class. Label quality and diversity — varied lighting, angles, backgrounds and occlusion — matter more than raw count, and built-in augmentation stretches a modest dataset further.

Do I need to know deep learning to fine-tune YOLO?

No. Fine-tuning on a custom dataset is mostly data preparation and a few commands, not neural-network theory. The harder work is collecting and accurately annotating images; the training step itself is largely automated. A basic grasp of Python and the command line is enough to get a custom detector running.

Bottom line

YOLO made real-time object detection practical by replacing slow, multi-stage pipelines with a single, fast look at the whole image. That one idea — “you only look once” — is why it powers security systems, autonomous vehicles, retail analytics, robotics, and countless other applications.

It isn’t the single most accurate detector in existence, but it offers a strong balance of speed and accuracy, and that balance is what many real applications need. Best of all, it’s genuinely accessible — pick a recent version, start with a pre-trained model, and you can have object detection running today. For the wider field, see how detection fits into computer vision for self-driving cars.

Verify these figures at the source

Every published accuracy and speed figure on this page comes from the original authors or from Ultralytics, checked on 7 November 2026. The figures are the publishers’ own, and speeds on your own hardware will differ. The ratios (such as “about seven times”) are our own arithmetic from these tables, and the 33 ms frame budget and the resolution estimate are our own calculations; the text labels all of them as such.

Written by Mustafa Ihsan

Mustafa Ihsan is the founder and editor of Convly.ai. He built and maintains the site's live AI models database, its price-performance index, and its free calculators for VRAM requirements, API costs and self-hosting economics. He writes about model pricing, benchmark results and the hardware needed to run AI models locally, and consistently prefers measured numbers to vendor claims.

Scroll to Top