Smallest max size
If you have ever worked on a Computer Vision project, you might know that using augmentations to diversify the dataset is the best practice. On this page, we will:
Сover the Smallest max size augmentation;
Check out its parameters;
See how Smallest max size affects an image;
And check out how to work with Smallest max size using Python through the Albumentations library.
Let's jump in.
Smallest max size augmentation explained
To define the term, Smallest max size is a data augmentation technique that reshapes an image so that the length of an image’s smallest size is equal to a certain number of pixels.
Smallest max size augmentation parameters
Maximum size of smallest side - sets the desired maximal length of the image in pixels. The values can vary from 256 to 3000.