Baike.dev
All toolsTrendingOpen sourceNewsSubmit
Log in
< 返回工具列表
A

albumentations

> 编程语言
开源

Fast and flexible image augmentation library. Paper about the library: https://www.mdpi.com/2078-2489/11/2/125

15.3K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

Fast and flexible image augmentation library. Paper about the library: https://www.mdpi.com/2078-2489/11/2/125

Albumentations

📣 Stay updated! Subscribe to our newsletter for the latest releases, tutorials, and tips directly from the Albumentations team. Docs | Discord | Twitter | LinkedIn

⚠️ Important Notice: Albumentations is No Longer Maintained

This repository is no longer actively maintained. The last update was in June 2025, and no further bug fixes, features, or compatibility updates will be provided.

🚀 Introducing AlbumentationsX - The Future of Albumentations

All development has moved to AlbumentationsX, the next-generation successor to Albumentations.

Note: AlbumentationsX uses dual licensing (AGPL-3.0 / Commercial). The AGPL license has strict copyleft requirements - see details below.

Your Options Moving Forward

1. Continue Using Albumentations (MIT License)

  • ✅ Forever free for all uses including commercial
  • ✅ No licensing fees or restrictions
  • ❌ No bug fixes - Even critical bugs won't be addressed
  • ❌ No new features - Missing out on performance improvements
  • ❌ No support - Issues and questions go unanswered
  • ❌ No compatibility updates - May break with new Python/PyTorch versions

Best for: Projects that work fine with the current version and don't need updates

2. Upgrade to AlbumentationsX (Dual Licensed)

  • ✅ Drop-in replacement - Same API, just pip install albumentationsx
  • ✅ Active development - Regular updates and new features
  • ✅ Bug fixes - Issues are actively addressed
  • ✅ Performance improvements - Faster execution
  • ✅ Community support - Active Discord and issue tracking
  • ⚠️ Dual licensed:
    • AGPL-3.0: Free ONLY for projects licensed under AGPL-3.0 (not compatible with MIT, Apache, BSD, etc.)
    • Commercial License: Required for proprietary use AND permissive open-source projects

Best for: Projects that need ongoing support, updates, and new features

⚠️ AGPL License Warning: The AGPL-3.0 license is NOT compatible with permissive licenses like MIT, Apache 2.0, or BSD. If your project uses any of these licenses, you CANNOT use the AGPL version of AlbumentationsX - you'll need a commercial license.

Migration is Simple

# Uninstall original
pip uninstall albumentations

# Install AlbumentationsX
pip install albumentationsx

That's it! Your existing code continues to work without any changes:

import albumentations as A  # Same import!

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

Learn More

  • 📦 AlbumentationsX Repository: https://github.com/albumentations-team/AlbumentationsX
  • 💰 Commercial Licensing: https://albumentations.ai/pricing
  • 💬 Discord Community: https://discord.gg/AKPrrDYNAt

Original Albumentations README

GitAds Sponsored

Albumentations is a Python library for image augmentation. Image augmentation is used in deep learning and computer vision tasks to increase the quality of trained models. The purpose of image augmentation is to create new training samples from the existing data.

Here is an example of how you can apply some pixel-level augmentations from Albumentations to create new images from the original one:

Why Albumentations

  • Complete Computer Vision Support: Works with all major CV tasks including classification, segmentation (semantic & instance), object detection, and pose estimation.
  • Simple, Unified API: One consistent interface for all data types - RGB/grayscale/multispectral images, masks, bounding boxes, and keypoints.
  • Rich Augmentation Library: 70+ high-quality augmentations to enhance your training data.
  • Fast: Consistently benchmarked as the fastest augmentation library, with optimizations for production use.
  • Deep Learning Integration: Works with PyTorch, TensorFlow, and other frameworks. Part of the PyTorch ecosystem.
  • Created by Experts: Built by developers with deep experience in computer vision and machine learning competitions.

Table of contents

  • Albumentations
    • Why Albumentations
    • Table of contents
    • Authors
      • Current Maintainer
      • Emeritus Core Team Members
    • Installation
    • Documentation
    • A simple example
    • Getting started
      • I am new to image augmentation
      • I want to use Albumentations for the specific task such as classification or segmentation
      • I want to explore augmentations and see Albumentations in action
    • Who is using Albumentations
      • See also
    • List of augmentations
      • Pixel-level transforms
      • Spatial-level transforms
    • A few more examples of augmentations
      • Semantic segmentation on the Inria dataset
      • Medical imaging
      • Object detection and semantic segmentation on the Mapillary Vistas dataset
      • Keypoints augmentation
    • Benchmarking results
      • System Information
      • Benchmark Parameters
      • Library Versions
    • Performance Comparison
    • Contributing
    • Community
    • Citing

Authors

Current Maintainer

Vladimir I. Iglovikov | Kaggle Grandmaster

Emeritus Core Team Members

Mikhail Druzhinin | Kaggle Expert

Alex Parinov | Kaggle Master

Alexander Buslaev | Kaggle Master

Eugene Khvedchenya | Kaggle Grandmaster

Installation

Albumentations requires Python 3.9 or higher. To install the latest version from PyPI:

pip install -U albumentations

Other installation options are described in the documentation.

Documentation

The full documentation is available at https://albumentations.ai/docs/.

A simple example

import albumentations as A
import cv2

# Declare an augmentation pipeline
transform = A.Compose([
    A.RandomCrop(width=256, height=256),
    A.HorizontalFlip(p=0.5),
    A.RandomBrightnessContrast(p=0.2),
])

# Read an image with OpenCV and convert it to the RGB colorspace
image = cv2.imread("image.jpg")
image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)

# Augment an image
transformed = transform(image=image)
transformed_image = transformed["image"]

Getting started

I am new to image augmentation

Please start with the introduction articles about why image augmentation is important and how it helps to build better models.

I want to use Albumentations for the specific task such as classification or segmentation

If you want to use Albumentations for a specific task such as classification, segmentation, or object detection, refer to the set of articles that has an in-depth description of this task. We also have a list of examples on applying Albumentations for different use cases.

I want to explore augmentations and see Albumentations in action

Check the online demo of the library. With it, you can apply augmentations to different images and see the result. Also, we have a list of all available augmentations and their targets.

Who is using Albumentations

See also

  • A list of papers that cite Albumentations.
  • Open source projects that use Albumentations.

List of augmentations

Pixel-level transforms

Pixel-level transforms will change just an input image and will leave any additional targets such as masks, bounding boxes, and keypoints unchanged. For volumetric data (volumes and 3D masks), these transforms are applied independently to each slice along the Z-axis (depth dimension), maintaining consistency across the volume. The list of pixel-level transforms:

  • AdditiveNoise
  • AdvancedBlur
  • AutoContrast
  • Blur
  • CLAHE
  • ChannelDropout
  • ChannelShuffle
  • ChromaticAberration
  • ColorJitter
  • Defocus
  • Downscale
  • Emboss
  • Equalize
  • FDA
  • FancyPCA
  • FromFloat
  • [GaussNoise](https://explore.albumentations.ai/transform/GaussNois

核心特点

  • •✅ Forever free for all uses including commercial
  • •✅ No licensing fees or restrictions
  • •❌ No bug fixes - Even critical bugs won't be addressed
  • •❌ No new features - Missing out on performance improvements
  • •❌ No support - Issues and questions go unanswered
  • •❌ No compatibility updates - May break with new Python/PyTorch versions
  • •✅ Drop-in replacement - Same API, just pip install albumentationsx
  • •✅ Active development - Regular updates and new features
  • •✅ Bug fixes - Issues are actively addressed
  • •✅ Performance improvements - Faster execution

> 标签

Pythonaugmentationdeep-learningdetectionfast-augmentations

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月9日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言
Baike.dev

baike.dev helps you discover great languages, frameworks, databases, DevOps and cloud-native tools.

Quick links

  • Home
  • All tools
  • Trending
  • Open source

About

  • About us
  • Community
  • News

Contribute

Found a great developer tool? Share it with the community.

Submit a tool
© 2026 baike.dev Developer EncyclopediaUpdated daily · Discover great developer tools