This commit is contained in:
Glenn Jocher 2019-09-20 15:02:32 +02:00
parent 9a18166382
commit 2ad3276c77
1 changed files with 1 additions and 1 deletions

View File

@ -645,7 +645,7 @@ def cutout(image, labels):
# return unobscured labels
box = np.array([xmin, ymin, xmax, ymax], dtype=np.float32)
ioa = bbox_ioa(box, labels[:, 1:5]) # intersection over area
return labels[ioa < 0.8] # > 80% obscured labels removed
return labels[ioa < 0.90] # > 90% obscured labels removed
def convert_images2bmp():