albumentations
albumentations copied to clipboard
Fixed the error when bbox dimensions gets less than 0 or greater than 1
We can not change bboxes silently, because these changes might be incorrect in some cases. Better to add flag clamp_bbox=False
into this function and into BboxParams and BboxProcessor
I have added the parameter clamp_bbox=False
to BBoxParams
which will control whether bboxes will be forcefully clamped to remain between 0 and 1.
Thanks.