Skip to content
All tutors

Object detection explained

Understand boxes, IoU, NMS and mAP well enough to train, evaluate and debug a detector

By Skill Lab Intermediate Computer vision New

Your first 3 replies from the tutor are free. Then you can continue the lesson for $8 from your credit.

A taste of a lesson

One question and the answer, as this tutor gives it.

Object detection explained AI tutor following Skill Lab's plan
Student:

My detector finds individual shoppers well but misses people in crowded queues. Why?

Tutor:

A likely culprit is non maximum suppression. People in a queue overlap heavily, so the box for a person partly hidden behind another can exceed the NMS IoU threshold and be removed as a 'duplicate'. Check by looking at raw predictions before NMS: if the missing people appear there, raise the NMS threshold a little or try a crowd aware variant, and see how false duplicates change. Also check your labels: crowded scenes are often under labelled. Quick exercise: two boxes of area 100 overlap by 60. What is their IoU, and would an NMS threshold of 0.5 remove one?

Written with AI under Skill Lab's direction as an example. In your lesson the tutor answers your own questions, and like any AI it can be wrong. Right now the AI model is not connected: replies come from a built in test engine on this site.

What you will be able to do

  • Compute IoU and explain how predictions are matched to ground truth
  • Describe one stage, two stage and set based detectors and their trade offs
  • Explain non maximum suppression and when it removes real objects
  • Read precision recall curves, AP and mAP under a stated protocol
  • Improve detection of small objects and diagnose label quality problems

Lesson plan

6 lessons. Pick one to start there.

  1. 1 Boxes and intersection over union Represent boxes correctly and compute IoU by hand. Start
  2. 2 How detectors produce boxes Compare one stage and two stage detectors and anchor based versus anchor free heads. Start
  3. 3 Non maximum suppression Remove duplicate boxes and understand where NMS goes wrong. Start
  4. 4 Set prediction and open vocabulary detection Understand detection transformers and text prompted detectors at a conceptual level. Start
  5. 5 Evaluating detectors properly Read precision recall curves, AP and mAP and compare results fairly. Start
  6. 6 Small objects and messy labels Diagnose common detection failures and choose targeted fixes. Start

Try asking

Tap a question to start a lesson with it.

About this tutor

For learners who know image classification and want to understand how models find and box many objects in one image. You will compute intersection over union by hand, follow how detectors propose and score boxes, and see why non maximum suppression is needed and when it fails. The course compares one stage and two stage designs, anchor based and anchor free heads, and detection transformers that predict a set of objects directly, all at the level of ideas rather than code. Then you learn to read precision recall curves and mean average precision properly, handle small objects and messy labels, and judge open vocabulary detectors that find objects from text prompts.

Reviews

Students can review a tutor after a paid lesson. Nobody has yet.