Skip to content
BIASED

Object detection

Block 1 of 6~2 min

The task: boxes and classes

The topic Convolutional architectures built backbones that turn an image into one label. A street photograph holds many objects, and a detector must list them all: which classes, how many, and where. The answer is a set of bounding boxes with class scores. The set length changes per image, so a fixed-output classifier cannot produce it. Detectors keep the backbones and change the head.

Three things make this harder than classification: the output is a set of unknown size; localization is continuous, so “correct” needs an overlap tolerance; objects span scales from tens to hundreds of pixels, and most of the image is background. Sliding a classifier over every window is correct in principle and hopeless in cost (~10510^5 full forward passes per image).

Key idea. Replace “find the objects” by many fixed questions about reference boxes — proposals or anchors. Label each by overlap with the ground truth; classify and regress; remove duplicates.

Answers are saved on the server and tied to this browser until you sign in.

Go deeper — optional

Code and labs do not count toward the main percentage or the certificate.

  • IoU in codeoptional

    Compute Intersection over Union for xyxy boxes — the match measure in detection.

    ~15 min · easier on a computer · The Object detection topic, IoU block.

    Open practice