Paperspace/DataAugmentationForObjectDetection

Bug in clip_box function

txytju opened this issue · 1 comments

in clip_box function, if x1<x2 or y1<y2 is not true, a area wil still be returned, but there is no box.

Because annotations are in form (x1, y1, x2, y2);
x1, y1 require to < x2, y2

Thanks.