- Support Our Work
- Core
- Bug fixes and speedups
Support Our Work
- Help Us Grow - If you find value in Albumentations, consider becoming a sponsor. Every contribution, no matter the size, helps us maintain and improve the library for everyone.
- Show Your Support - If you enjoy using Albumentations, consider giving us a ⭐ on GitHub. It helps others discover the library and motivates our team.
- Join Our Community - Have suggestions or ran into issues? We welcome your input! Share your experience in our GitHub issues or connect with us on Discord.
Core
Added parameter max_accept_ratio
to BBoxParams
max_accept_ratio (float | None): Maximum allowed aspect ratio for bounding boxes.
The aspect ratio is calculated as max(width/height, height/width), so it's always >= 1.
Boxes with aspect ratio greater than this value will be filtered out.
For example, if `max_accept_ratio=3.0`, boxes with width:height or height:width ratios
greater than 3:1 will be removed. Set to None to disable aspect ratio filtering. Default: None.
Bugfixes and Speedups
- Bugfix in
clip=True
inBboxParams
, was clipping not only boxes, but class labels if passed as numpy array - BugFix in keypoints in all distortions: Elastic, Optical, Grid, ThinPlateSpline,
- Speedup in
PlasmaShadow
,PlasmaBrightnessContrast
,ChannelShuffle