mixmo.augmentations.mixing_blocks._rand_bbox_of_area_lam

mixmo.augmentations.mixing_blocks._rand_bbox_of_area_lam(size, lam, seed=None)[source]

Compute the corner coordinates of a random rectangular box such that area_box/area_image=lam