$ ./guess_the_languageAI & ML
AI & ML · medium · #53

What is the IoU (intersection over union) of the two boxes?

box A: x1=0, y1=0, x2=4, y2=4
box B: x1=2, y1=2, x2=6, y2=6
  1. 0.14
  2. 0.25
  3. 0.50
  4. 0.29
Intersection is 2x2 = 4; union is 16 + 16 - 4 = 28; 4 / 28 = 0.14.
Play AI & ML ▸