CropToMultiplesOf#
- class deeptrack.augmentations.CropToMultiplesOf(multiple: int | Callable[[...], int] = 1, corner: str | Callable[[...], str] = 'random', **kwargs)#
Bases:
Crop
Crop images down until their height/width is a multiple of a value.
Parameters#
- multipleint or tuple of (int or None)
Images will be cropped down until their width is a multiple of this value. If a tuple, it is assumed to be a multiple per axis. A value of None or -1 indicates to skip that axis.