Longest 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 Longest max size augmentation;
Check out its parameters;
See how Longest max size affects an image;
And check out how to work with Longest max size using Python through the Albumentations library.
Let's jump in.
Longest max size augmentation explained
To define the term, Longest max size is a data augmentation technique that fixes the maximum possible length of the image's longest side.
Longest max size augmentation parameters
Maximum size of longest side - sets the desired maximal length of the image in pixels. The values can vary from 256 to 3000.