christianpayer / MedicalDataAugmentationTool-VerSe

GNU General Public License v3.0
175 stars 81 forks source link

iou for non-overlapping boxes #23

Open rijobro opened 2 years ago

rijobro commented 2 years ago

I would insert intersection_area = max(intersection_area, 0) after line 36, such that two boxes with no overlap have an intersection area of 0.