HomeAI & Machine LearningAnchor Box Matching for Object Detection

Anchor Box Matching for Object Detection

Interactive 3D anchor-box simulator: watch a CNN's dense grid of multi-scale, multi-aspect-ratio anchor boxes get scored against a ground-truth box by Intersection-over-Union, and see exactly which ones become positive, negative or ignored training targets.

AI & Machine Learning3DModerate60 FPS📱 Mobile-adapted⇄ 2D version
ds-topic-23 ↗ Open standalone

Before a convolutional detector can draw a single bounding box, it has already tiled the image with hundreds of candidate rectangles — anchor boxes — at every cell of its feature-map grid, in a handful of scales and aspect ratios. This simulator renders that grid in 3D exactly as a detector like SSD or Faster R-CNN's region-proposal network sees it: adjust the grid resolution and anchor scale, drag the two Intersection-over-Union thresholds, and drop a new random ground-truth box to watch, anchor by anchor, which shapes get accepted as positive training targets, which are dismissed as background negatives, and which fall into the ignored middle band — with the true governing IoU formula computed live for every single anchor.

⚙ Under the hood

Watch a detector's dense grid of multi-scale, multi-aspect-ratio anchor boxes get scored against a ground-truth box by Intersection-over-Union, live, in 3D — and see exactly which become positive, negative or ignored training targets.

computer-visionobject-detectionanchor-boxesioucnndeep-learning

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)