1. 程式人生 > >目標檢測中IOU的介紹(Intersection over Union)

目標檢測中IOU的介紹(Intersection over Union)

IOU的輸入

1 ground-truth的bounding box

2 預測的bounding box

IOU的輸出

輸出為值在[0,1]之間的數字


IOU = 兩個矩形交集的面積/兩個矩形的並集面積



Reference:

https://www.pyimagesearch.com/2016/11/07/intersection-over-union-iou-for-object-detection/