ImagePresets<T>
Helpers & Utilities · AiDotNet.Augmentation.Image
Preset preprocessing configurations for common models.
Methods
| Method | Summary |
|---|---|
ImagePreprocessor<T> CLIP() |
CLIP model preprocessing: resize 224, center crop 224, normalize with CLIP stats. |
ImagePreprocessor<T> COCO(int targetSize) |
COCO detection preprocessing. |
ImagePreprocessor<T> DINO(int imageSize) |
DINO/DINOv2 preprocessing. |
ImagePreprocessor<T> ImageNet(bool training) |
Standard ImageNet preprocessing: resize 256, center crop 224, normalize. |
ImagePreprocessor<T> SAM(int imageSize) |
SAM (Segment Anything Model) preprocessing. |
ImagePreprocessor<T> VOC(int targetSize) |
Pascal VOC preprocessing. |