ISpatialAugmentation<T, TData>
Interfaces · AiDotNet.Augmentation
Interface for augmentations that can transform spatial targets (bounding boxes, keypoints, segmentation masks).
Implements: IAugmentation<T, TData>
Known implementations: Compose<T, TData>, OneOf<T, TData>, SomeOf<T, TData>, SpatialAugmentationBase<T, TData>
Properties
| Property | Summary |
|---|---|
bool SupportsBoundingBoxes { get; } |
Gets whether this augmentation supports bounding box transformation. |
bool SupportsKeypoints { get; } |
Gets whether this augmentation supports keypoint transformation. |
bool SupportsMasks { get; } |
Gets whether this augmentation supports segmentation mask transformation. |
Methods
| Method | Summary |
|---|---|
AugmentedSample<T, TData> ApplyWithTargets(AugmentedSample<T, TData> sample, AugmentationContext<T> context) |
Applies the augmentation and transforms all spatial targets. |