AugmentationsΒΆ
- Supervisely Python SDK Tutorial #3: Augmentations
- Imports
- Required imports
- Load input data
- Define visualization helpers
- Original image and its annotation
- Horizontal flip (left-right)
- Vertical flip
- Random crop - height and width from range
- Random crop - fixed height and width
- Deterministic crop (relative units)
- Deterministic crop (absolute pixels)
- Resize
- Scale proportionally
- Rotate (with padding)
- Rotate (without padding)
- Random brightness
- Random contrast
- Random Gaussian noise
- Random per-color scale
- Blur
- Median Blur
- Gaussian Blur