Computer Vision · Intermediate level

Intermediate level · Module 6 of 8 · 14 guided hours

Object Detection with YOLO

Detecting and locating objects: bounding boxes, IoU and non-maximum suppression, how YOLO works, training and evaluating Ultralytics YOLO on a custom dataset on CPU or free GPU, and licensing.

Learning objectives

  • Explain bounding boxes, IoU, non-maximum suppression and YOLO's design
  • Train and evaluate a YOLO detector on a custom dataset
  • Interpret precision, recall and mAP and understand the licence implications

Topics

  • bounding boxes and YOLO label format
  • IoU and non-maximum suppression
  • how single-stage detectors work
  • training Ultralytics YOLO on CPU or free GPU
  • precision, recall, AP and mAP
  • licences and responsible use

Lessons

  1. Lesson 1 How Object Detectors Work

    Learners study bounding boxes, the YOLO label format, IoU and non-maximum suppression, and how a single-stage detector predicts boxes and classes in one pass.

    bounding box formatsYOLO labels (class, x_center, y_center, width, height, normalised)IoUconfidence scorenon-maximum suppression

  2. Lesson 2 Training a YOLO Detector on a Custom Dataset

    Learners fine-tune a small pretrained Ultralytics YOLO model on their labelled data, on a CPU with small images or on a free notebook GPU, and use it to detect objects in new images.

    data.yaml (paths and class names)pretrained nano modelmodel.train(epochs, imgsz, device)model.predicttraining outputs and curves

  3. Lesson 3 Evaluating Detectors, Licences and Responsible Use

    Learners evaluate their detector with precision, recall, AP50 and mAP per class on public and local test sets, analyse errors, and examine licensing and responsible-use limits.

    precision and recall at a confidence thresholdAP50 and mAP50-95per-class resultsAGPL-3.0use restrictions

Practical activity

Train, evaluate and document the level project detector: per-class metrics on public and local data, an error gallery, and licence and responsible-use notes.

Expected outcomes

  • Practical object detection skills
  • Correct interpretation of detection metrics and licences

Assessment

Detection worksheet (20%), trained detector with evaluation (60%) and licence and use note (20%).

Taught live by an instructor — online or in person. Free course lessons are for self-study and do not lead to a certificate — see registration options.