Augmentation for Detection & Segmentation: Label-Safe Transforms in Computer Vision Mastery
Augmentation for Detection & Segmentation: Label-Safe Transforms
Detection labels
Update box coords; handle dropped boxes after cropping.
Segmentation masks
Use nearest-neighbor interpolation for masks.

