Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a240c2725c98b1bb

Jump to content

Albumentations

From Wikipedia, the free encyclopedia
Albumentations
Original authors
  • Alexander Buslaev
  • Vladimir I. Iglovikov
  • Alex Parinov
ReleaseJune 2018; 8 years ago (2018-06)
Written in
Operating system
Available inEnglish
TypeLibrary for machine learning and deep learning
LicenseMIT[1]
Websitealbumentations.ai
Repositorygithub.com/albumentations-team/albumentations

Albumentations is an open-source image augmentation library introduced in 2018 by researchers Alexander Buslaev, Vladimir Iglovikov, and Alex Parinov. The library provides a flexible and efficient framework for applying data augmentation techniques in computer vision workflows.[2] Additional core contributors include Eugene Khvedchenya and Mikhail Druzhinin.[3]

Albumentations is built on top of the OpenCV library and provides optimized implementations of many image-processing operations. Its API enables composition of augmentation pipelines for tasks including image classification, object detection, semantic segmentation, instance segmentation, keypoint detection, and multi-target workflows.[4]

Adoption

[edit]

Albumentations is widely used in academic research, industrial machine learning pipelines, and Kaggle competitions.[5]

The project is an Affiliated Project of NumFOCUS, a non-profit organization supporting open-source scientific computing.[6]

The Albumentations research paper has received more than 3000 citations according to Google Scholar.[7]

The library has been used in solutions to computer vision challenges, including the Kaggle Deepfake Detection Challenge (DFDC).[8]

Package analytics indicate more than 100 million cumulative installations.[9]

Features

[edit]

Albumentations supports deterministic and randomized augmentation pipelines for a broad range of annotation types.

2D image and annotation targets

[edit]

Supported 2D targets include:

  • Images in RGB, grayscale, and arbitrary multi-channel configurations[10]
  • Segmentation masks and dense label maps with any number of channels, including instance segmentation multi-mask workflows[11]
  • Bounding boxes in COCO, Pascal VOC, YOLO, and Albumentations formats[12]
  • Keypoints in multiple coordinate systems[13]

Albumentations can synchronize transforms across many targets simultaneously, including:

  • multiple images,
  • multiple masks,
  • multiple bounding-box sets,
  • multiple keypoint sets.

This enables workflows such as stereo vision, multi-view datasets, and multi-sensor fusion.

A full compatibility matrix of transforms and supported targets is documented online.[14]

Video and temporal data

[edit]

Albumentations supports consistent augmentation of video sequences by applying transforms with shared random parameters across frames.[15]

Volumetric (3D) data

[edit]

Albumentations supports 3D augmentation for medical imaging and scientific computing, including:

  • 3D images with arbitrary channel counts,
  • 3D multi-class or multi-channel masks,
  • 3D keypoints.

Volumetric transforms are available in the core library and through ecosystem extensions such as Albucore.[16][17]

Fork and successor project

[edit]

In 2024–2025, the original Albumentations project entered maintenance mode. A successor project, AlbumentationsX, was created to extend functionality and continue active development.

AlbumentationsX expands support for 2D, 3D, and video targets, introduces new transformations, and provides internal performance improvements while staying API-compatible with Albumentations.

AlbumentationsX uses a dual licensing model: AGPL-3.0 or a commercial license.[18]

A benchmarking repository comparing AlbumentationsX with other libraries is publicly available.[19]

Example

[edit]

The following program applies the same augmentation pipeline to an image and its segmentation mask:

import albumentations as A
import cv2

transform = A.Compose([
    A.RandomCrop(width=256, height=256),
    A.HorizontalFlip(p=0.5),
    A.RandomBrightnessContrast(p=0.2),
])

image = cv2.imread("image.jpg")
image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)

mask = cv2.imread("mask.png", cv2.IMREAD_GRAYSCALE)

transformed = transform(image=image, mask=mask)
aug_image = transformed["image"]
aug_mask = transformed["mask"]

References

[edit]
  1. "MIT License". GitHub. Retrieved 2025-12-09.
  2. Alexander Buslaev; Vladimir Iglovikov; Alex Parinov; Eugene Khvedchenya; Alexandr A. Kalinin (2020). "Albumentations: Fast and Flexible Image Augmentations". Information. 11 (2). MDPI: 125. arXiv:1809.06839. doi:10.3390/info11020125.
  3. "Albumentations contributors". GitHub. Retrieved 2025-12-09.
  4. "Albumentations Documentation – Basic Usage". Albumentations. Retrieved 2025-12-09.
  5. Alexander Buslaev; Vladimir Iglovikov; Alex Parinov; Eugene Khvedchenya; Alexandr A. Kalinin (2020). "Albumentations: Fast and Flexible Image Augmentations". Information. 11 (2). MDPI: 125. arXiv:1809.06839. doi:10.3390/info11020125.
  6. "Affiliated Projects". NumFOCUS. Retrieved 2025-12-09.
  7. "Google Scholar – Albumentations: Fast and Flexible Image Augmentations". Google Scholar. Retrieved 2025-12-09.
  8. Brian Dolhansky; Joan Hu; Evgeniya Ferrer (2020). "The DeepFake Detection Challenge Dataset". arXiv:2006.07397 [cs.CV].
  9. "Albumentations – Download Statistics". PePy. Retrieved 2025-12-09.
  10. "Image Classification". Albumentations. Retrieved 2025-12-09.
  11. "Semantic Segmentation". Albumentations. Retrieved 2025-12-09.
  12. "Bounding Boxes Augmentation". Albumentations. Retrieved 2025-12-09.
  13. "Keypoint Augmentation". Albumentations. Retrieved 2025-12-09.
  14. "Supported Targets by Transform". Albumentations. Retrieved 2025-12-09.
  15. "Video Augmentation". Albumentations. Retrieved 2025-12-09.
  16. "Volumetric Augmentation (3D)". Albumentations. Retrieved 2025-12-09.
  17. "Albucore: High-Performance Image Processing Utilities". Albumentations Team. Retrieved 2025-12-09.
  18. "Announcing AlbumentationsX". Albumentations. Retrieved 2025-12-09.
  19. "Albumentations Benchmarks". GitHub. Retrieved 2025-12-09.
[edit]