AlbumentationsAlbumentations
DocumentationBlogPeopleTestimonialsPricingNews & Insights
Report an issueDiscord

PadIfNeeded Albumentations transform

Commercial
Albumentations in production?
Get license
PadIfNeeded
Pad image to meet min height/width and/or divisibility (pad_height_divisor, pad_width_divisor).
PadIfNeeded
Pad image to meet min height/width and/or divisibility (pad_height_divisor, pad_width_divisor).
PadIfNeeded
Pad image to meet min height/width and/or divisibility (pad_height_divisor, pad_width_divisor).

Parameters

Transform parameters are image size-dependent. For accurate results, test with your own images or similar-sized ones.

Show overlays:
Classes
Original
Loading...
Transformed
Loading...
Commercial
Albumentations in production?
Get license
PadIfNeeded
Pad image to meet min height/width and/or divisibility (pad_height_divisor, pad_width_divisor).
PadIfNeeded
Pad image to meet min height/width and/or divisibility (pad_height_divisor, pad_width_divisor).
PadIfNeeded
Pad image to meet min height/width and/or divisibility (pad_height_divisor, pad_width_divisor).

Parameters

Transform parameters are image size-dependent. For accurate results, test with your own images or similar-sized ones.

Show overlays:
Classes
Original
Loading...
Transformed
Loading...