Learn Before
Concept

Anchor Box in Object Detection

An anchor box (also called a prior box) is a predefined bounding box that is centered on every pixel of an input image and serves as a candidate region for detecting objects. Rather than searching for objects at arbitrary positions and sizes, an object detection model generates a fixed set of anchor boxes with varying shapes across the entire image and then predicts how each anchor should be adjusted to tightly fit nearby objects. Each anchor box is fully determined once its center position, scale, and aspect ratio are specified. Anchor boxes provide the initial spatial hypotheses that a detector refines, enabling efficient coverage of potential ground-truth bounding boxes without exhaustive search.

0

1

Updated 2026-05-21

Contributors are:

Who are from:

Tags

D2L

Dive into Deep Learning @ D2L