albumentations-team / albumentations

Fast and flexible image augmentation library. Paper about the library: https://www.mdpi.com/2078-2489/11/2/125
https://albumentations.ai
MIT License
14.09k stars 1.64k forks source link

[Feature request] Add apply_to_batch #1719

Open ternaus opened 4 months ago

ternaus commented 4 months ago

There is request how to apply to video or to batch.

Albumentations was not originally designed to be applied to batch.

But it looks like we can add such functionality without too much pain, by just looping over frames with annotations.

Related to: https://github.com/albumentations-team/albumentations/issues/465 https://github.com/albumentations-team/albumentations/issues/683 https://github.com/albumentations-team/albumentations/issues/1561

GdoongMathew commented 2 weeks ago

I think #1420 has already implemented fraction of this functionality, tho its mainly focusing on images.