1、概念
交叉复盖(iou )是在目标检测中使用的概念,所产生的候选框(实际标记为交叉复盖框)被接地
2、图标
3、公式
4、IOU计算的Python实现
efcacluteiou(candidatebbox, groundBbox ) : cx1=candidate bbox [0] cx2=candidate bbox [1] cy1=candidate bbox [2] cy2=candidate bbox [3] gx1 gx1 areac=(CX2-CX1 ) * ) *(cy2 - cy1 ) areag=(gx2-gx1 ) * ) *(gy2 - gy1 ) #CG gx1 ) ) h=max(0,)