One Area, Three Shapes

Using Vision ModelsMedium+20 XP+20

One Area, Three Shapes

A sliding-window detector does not only need boxes of different sizes. It needs different shapes too: a standing person fills a tall, narrow box, while a car seen side-on fills a wide, flat one.

Run a sliding window on a single photo 384384384 pixels wide and 256256256 pixels tall, trying one box area in three shapes:

boxwidthheight
square646464646464
wide128128128323232
tall323232128128128
  • every box moves in steps of 161616 pixels, horizontally and vertically;
  • the first placement of every box is flush with the top-left corner;
  • a box is used only where it lies entirely inside the image.

Every placement of every box is one run of the classifier.

How many classifier runs does this one photo cost?

stride
2
stops
9
output
3×3

Stride 2 jumps two pixels, so there are far fewer stops and less overlap.

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.

Select all that apply.