{"id":29027579,"url":"https://github.com/albumentations-team/albumentationsx","last_synced_at":"2026-04-01T17:31:41.915Z","repository":{"id":302869572,"uuid":"1005218687","full_name":"albumentations-team/AlbumentationsX","owner":"albumentations-team","description":"Next-generation Albumentations: dual-licensed for open-source and commercial use","archived":false,"fork":false,"pushed_at":"2026-02-07T13:33:54.000Z","size":1488,"stargazers_count":257,"open_issues_count":40,"forks_count":23,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-07T18:13:59.745Z","etag":null,"topics":["data-augmentation","deep-learning","deeplearning","image-augmentation","image-classification","image-processing","image-segmentations","instance-segmentation","maching-learning","object-detection","python"],"latest_commit_sha":null,"homepage":"https://albumentations.ai/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/albumentations-team.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":"MAINTAINERS.md","copyright":null,"agents":null,"dco":null,"cla":"CLA.md"},"funding":{"github":"albumentations-team","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":["https://www.paypal.com/paypalme/ternaus"]}},"created_at":"2025-06-19T21:50:16.000Z","updated_at":"2026-02-07T13:33:53.000Z","dependencies_parsed_at":"2025-07-04T14:43:12.953Z","dependency_job_id":"640c0600-38a2-4e8e-a5ab-033ce5540a9c","html_url":"https://github.com/albumentations-team/AlbumentationsX","commit_stats":null,"previous_names":["albumentations-team/albumentationsx"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/albumentations-team/AlbumentationsX","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albumentations-team%2FAlbumentationsX","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albumentations-team%2FAlbumentationsX/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albumentations-team%2FAlbumentationsX/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albumentations-team%2FAlbumentationsX/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/albumentations-team","download_url":"https://codeload.github.com/albumentations-team/AlbumentationsX/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albumentations-team%2FAlbumentationsX/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29480870,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T11:35:25.641Z","status":"ssl_error","status_checked_at":"2026-02-15T11:34:57.128Z","response_time":118,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-augmentation","deep-learning","deeplearning","image-augmentation","image-classification","image-processing","image-segmentations","instance-segmentation","maching-learning","object-detection","python"],"created_at":"2025-06-26T06:37:12.393Z","updated_at":"2026-04-01T17:31:41.901Z","avatar_url":"https://github.com/albumentations-team.png","language":"Python","funding_links":["https://github.com/sponsors/albumentations-team","https://www.paypal.com/paypalme/ternaus"],"categories":[],"sub_categories":[],"readme":"# AlbumentationsX\n\n[![PyPI version](https://badge.fury.io/py/albumentationsx.svg)](https://badge.fury.io/py/albumentationsx)\n![CI](https://github.com/albumentations-team/AlbumentationsX/workflows/CI/badge.svg)\n[![PyPI Downloads](https://img.shields.io/pypi/dm/albumentationsx.svg?label=PyPI%20downloads)](https://pypi.org/project/albumentationsx/)\n\n\u003e 📣 **Stay updated!** [Subscribe to our newsletter](https://albumentations.ai/subscribe) for the latest releases, tutorials, and tips.\n\n[![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-blue.svg)](https://www.gnu.org/licenses/agpl-3.0)\n[![Commercial License](https://img.shields.io/badge/Commercial_License-available-brightgreen)](https://albumentations.ai/pricing)\n\n[![Docs](https://img.shields.io/badge/docs-albumentations.ai-blue)](https://albumentations.ai/docs/) [![Discord](https://img.shields.io/badge/Discord-join-7289da?logo=discord\u0026logoColor=white)](https://discord.gg/AKPrrDYNAt) [![Twitter](https://img.shields.io/badge/Twitter-follow-1da1f2?logo=twitter\u0026logoColor=white)](https://twitter.com/albumentations) [![LinkedIn](https://img.shields.io/badge/LinkedIn-connect-0077b5?logo=linkedin\u0026logoColor=white)](https://www.linkedin.com/company/albumentations/) [![Reddit](https://img.shields.io/badge/Reddit-join-ff4500?logo=reddit\u0026logoColor=white)](https://www.reddit.com/r/Albumentations/)\n\n**AlbumentationsX** is a Python library for image augmentation. It provides high-performance, robust implementations and cutting-edge features for computer vision tasks. Image augmentation is used in deep learning and computer vision to increase the quality of trained models. The purpose of image augmentation is to create new training samples from the existing data.\n\n## GitAds Sponsored\n\n[![Sponsored by GitAds](https://gitads.dev/v1/ad-serve?source=albumentations-team/albumentationsx@github)](https://gitads.dev/v1/ad-track?source=albumentations-team/albumentationsx@github)\n\n## 📢 Important: AlbumentationsX Licensing\n\nAlbumentationsX offers dual licensing:\n\n- **AGPL-3.0 License**: Free for open-source projects\n- **Commercial License**: For proprietary/commercial use (contact for pricing)\n\n### Quick Start\n\n```bash\n# Install AlbumentationsX with OpenCV\npip install albumentationsx[headless]\n\n# Or if you already have OpenCV installed\npip install albumentationsx\n```\n\n```python\nimport albumentations as A\n\n# Create your augmentation pipeline\ntransform = A.Compose([\n    A.RandomCrop(width=256, height=256),\n    A.HorizontalFlip(p=0.5),\n    A.RandomBrightnessContrast(p=0.2),\n])\n```\n\nFor commercial licensing inquiries, please visit [our pricing page](https://albumentations.ai/pricing).\n\n---\n\nHere is an example of how you can apply some [pixel-level](#pixel-level-transforms) augmentations to create new images from the original one:\n![parrot](https://habrastorage.org/webt/bd/ne/rv/bdnerv5ctkudmsaznhw4crsdfiw.jpeg)\n\n## Why AlbumentationsX\n\n- **Complete Computer Vision Support**: Works with all major CV tasks\n- **Simple, Unified API**: [One consistent interface](#a-simple-example) for all data types - RGB/grayscale/multispectral images, masks, bounding boxes, and keypoints.\n- **Rich Augmentation Library**: [70+ high-quality augmentations](https://albumentations.ai/docs/reference/supported-targets-by-transform/) to enhance your training data.\n- **Fast**: Consistently benchmarked as the [fastest augmentation library](https://albumentations.ai/docs/benchmarks/image-benchmarks/) also shown [below section](#performance-comparison), with optimizations for production use.\n- **Deep Learning Integration**: Works with [PyTorch](https://pytorch.org/), [TensorFlow](https://www.tensorflow.org/), and other frameworks. Part of the [PyTorch ecosystem](https://pytorch.org/ecosystem/).\n- **Created by Experts**: Built by [developers with deep experience in computer vision and machine learning competitions](#authors).\n\n## Table of contents\n\n- [AlbumentationsX](#albumentationsx)\n  - [Why AlbumentationsX](#why-albumentationsx)\n  - [Table of contents](#table-of-contents)\n  - [Authors](#authors)\n    - [Current Maintainer](#current-maintainer)\n    - [Emeritus Core Team Members](#emeritus-core-team-members)\n  - [Installation](#installation)\n  - [Documentation](#documentation)\n  - [A simple example](#a-simple-example)\n  - [List of augmentations](#list-of-augmentations)\n    - [Pixel-level transforms](#pixel-level-transforms)\n    - [Spatial-level transforms](#spatial-level-transforms)\n  - [A few more examples of **augmentations**](#a-few-more-examples-of-augmentations)\n    - [Semantic segmentation on the Inria dataset](#semantic-segmentation-on-the-inria-dataset)\n    - [Medical imaging](#medical-imaging)\n    - [Object detection and semantic segmentation on the Mapillary Vistas dataset](#object-detection-and-semantic-segmentation-on-the-mapillary-vistas-dataset)\n    - [Keypoints augmentation](#keypoints-augmentation)\n  - [Benchmarking results](#benchmark-results)\n    - [System Information](#system-information)\n    - [Benchmark Parameters](#benchmark-parameters)\n    - [Library Versions](#library-versions)\n  - [Performance Comparison](#performance-comparison)\n  - [🤝 Contribute](#-contribute)\n  - [📜 License](#-license)\n  - [📞 Contact](#-contact)\n  - [Citing](#citing)\n\n## Authors\n\n### Current Maintainer\n\n[**Vladimir I. Iglovikov**](https://www.linkedin.com/in/iglovikov/) | [Kaggle Grandmaster](https://www.kaggle.com/iglovikov)\n\n### Emeritus Core Team Members\n\n[**Mikhail Druzhinin**](https://www.linkedin.com/in/mikhail-druzhinin-548229100/) | [Kaggle Expert](https://www.kaggle.com/dipetm)\n\n[**Alex Parinov**](https://www.linkedin.com/in/alex-parinov/) | [Kaggle Master](https://www.kaggle.com/creafz)\n\n[**Alexander Buslaev**](https://www.linkedin.com/in/al-buslaev/) | [Kaggle Master](https://www.kaggle.com/albuslaev)\n\n[**Eugene Khvedchenya**](https://www.linkedin.com/in/cvtalks/) | [Kaggle Grandmaster](https://www.kaggle.com/bloodaxe)\n\n## Installation\n\nAlbumentationsX requires Python 3.10 or higher. To install the latest version from PyPI:\n\n### Basic Installation\n\nIf you already have OpenCV installed (any variant), simply install AlbumentationsX:\n\n```bash\npip install -U albumentationsx\n```\n\n### Installation with OpenCV\n\nIf you don't have OpenCV installed yet, choose the appropriate variant:\n\n```bash\n# For servers/Docker (no GUI support, lighter package)\npip install -U albumentationsx[headless]\n\n# For local development with GUI support (cv2.imshow, etc.)\npip install opencv-python \u0026\u0026 pip install -U albumentationsx\n\n# For OpenCV with extra algorithms (contrib modules)\npip install opencv-contrib-python \u0026\u0026 pip install -U albumentationsx\n\n# For contrib + headless\npip install -U albumentationsx[contrib-headless]\n```\n\n**Note:** AlbumentationsX works with any OpenCV variant:\n\n- `opencv-python` (full version with GUI)\n- `opencv-python-headless` (no GUI, smaller size)\n- `opencv-contrib-python` (with extra modules)\n- `opencv-contrib-python-headless` (contrib + headless)\n\nChoose the one that fits your needs. The library will detect whichever is installed.\n\nOther installation options are described in the [documentation](https://albumentations.ai/docs/1-introduction/installation/).\n\n## Documentation\n\nThe full documentation is available at **[https://albumentations.ai/docs/](https://albumentations.ai/docs/)**.\n\n## A simple example\n\n```python\nimport albumentations as A\nimport cv2\n\n# Declare an augmentation pipeline\ntransform = A.Compose([\n    A.RandomCrop(width=256, height=256),\n    A.HorizontalFlip(p=0.5),\n    A.RandomBrightnessContrast(p=0.2),\n])\n\n# Read an image with OpenCV and convert it to the RGB colorspace\nimage = cv2.imread(\"image.jpg\")\nimage = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)\n\n# Augment an image\ntransformed = transform(image=image)\ntransformed_image = transformed[\"image\"]\n```\n\nAlbumentationsX collects anonymous usage statistics to improve the library. This can be disabled with `ALBUMENTATIONS_OFFLINE=1` or `ALBUMENTATIONS_NO_TELEMETRY=1`.\n\n## List of augmentations\n\n### Pixel-level transforms\n\nPixel-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:\n\n- [AdditiveNoise](https://explore.albumentations.ai/transform/AdditiveNoise)\n- [AdvancedBlur](https://explore.albumentations.ai/transform/AdvancedBlur)\n- [AtmosphericFog](https://explore.albumentations.ai/transform/AtmosphericFog)\n- [AutoContrast](https://explore.albumentations.ai/transform/AutoContrast)\n- [Blur](https://explore.albumentations.ai/transform/Blur)\n- [CLAHE](https://explore.albumentations.ai/transform/CLAHE)\n- [ChannelDropout](https://explore.albumentations.ai/transform/ChannelDropout)\n- [ChannelShuffle](https://explore.albumentations.ai/transform/ChannelShuffle)\n- [ChannelSwap](https://explore.albumentations.ai/transform/ChannelSwap)\n- [ChromaticAberration](https://explore.albumentations.ai/transform/ChromaticAberration)\n- [ColorJitter](https://explore.albumentations.ai/transform/ColorJitter)\n- [Defocus](https://explore.albumentations.ai/transform/Defocus)\n- [Dithering](https://explore.albumentations.ai/transform/Dithering)\n- [Downscale](https://explore.albumentations.ai/transform/Downscale)\n- [Emboss](https://explore.albumentations.ai/transform/Emboss)\n- [Equalize](https://explore.albumentations.ai/transform/Equalize)\n- [FDA](https://explore.albumentations.ai/transform/FDA)\n- [FancyPCA](https://explore.albumentations.ai/transform/FancyPCA)\n- [FilmGrain](https://explore.albumentations.ai/transform/FilmGrain)\n- [FromFloat](https://explore.albumentations.ai/transform/FromFloat)\n- [GaussNoise](https://explore.albumentations.ai/transform/GaussNoise)\n- [GaussianBlur](https://explore.albumentations.ai/transform/GaussianBlur)\n- [GlassBlur](https://explore.albumentations.ai/transform/GlassBlur)\n- [HEStain](https://explore.albumentations.ai/transform/HEStain)\n- [Halftone](https://explore.albumentations.ai/transform/Halftone)\n- [HistogramMatching](https://explore.albumentations.ai/transform/HistogramMatching)\n- [HueSaturationValue](https://explore.albumentations.ai/transform/HueSaturationValue)\n- [ISONoise](https://explore.albumentations.ai/transform/ISONoise)\n- [Illumination](https://explore.albumentations.ai/transform/Illumination)\n- [ImageCompression](https://explore.albumentations.ai/transform/ImageCompression)\n- [InvertImg](https://explore.albumentations.ai/transform/InvertImg)\n- [LensFlare](https://explore.albumentations.ai/transform/LensFlare)\n- [MedianBlur](https://explore.albumentations.ai/transform/MedianBlur)\n- [MotionBlur](https://explore.albumentations.ai/transform/MotionBlur)\n- [MultiplicativeNoise](https://explore.albumentations.ai/transform/MultiplicativeNoise)\n- [Normalize](https://explore.albumentations.ai/transform/Normalize)\n- [PhotoMetricDistort](https://explore.albumentations.ai/transform/PhotoMetricDistort)\n- [PixelDistributionAdaptation](https://explore.albumentations.ai/transform/PixelDistributionAdaptation)\n- [PlanckianJitter](https://explore.albumentations.ai/transform/PlanckianJitter)\n- [PlasmaBrightnessContrast](https://explore.albumentations.ai/transform/PlasmaBrightnessContrast)\n- [PlasmaShadow](https://explore.albumentations.ai/transform/PlasmaShadow)\n- [Posterize](https://explore.albumentations.ai/transform/Posterize)\n- [RGBShift](https://explore.albumentations.ai/transform/RGBShift)\n- [RandomBrightnessContrast](https://explore.albumentations.ai/transform/RandomBrightnessContrast)\n- [RandomFog](https://explore.albumentations.ai/transform/RandomFog)\n- [RandomGamma](https://explore.albumentations.ai/transform/RandomGamma)\n- [RandomGravel](https://explore.albumentations.ai/transform/RandomGravel)\n- [RandomRain](https://explore.albumentations.ai/transform/RandomRain)\n- [RandomShadow](https://explore.albumentations.ai/transform/RandomShadow)\n- [RandomSnow](https://explore.albumentations.ai/transform/RandomSnow)\n- [RandomSunFlare](https://explore.albumentations.ai/transform/RandomSunFlare)\n- [RandomToneCurve](https://explore.albumentations.ai/transform/RandomToneCurve)\n- [RingingOvershoot](https://explore.albumentations.ai/transform/RingingOvershoot)\n- [SaltAndPepper](https://explore.albumentations.ai/transform/SaltAndPepper)\n- [Sharpen](https://explore.albumentations.ai/transform/Sharpen)\n- [ShotNoise](https://explore.albumentations.ai/transform/ShotNoise)\n- [Solarize](https://explore.albumentations.ai/transform/Solarize)\n- [Spatter](https://explore.albumentations.ai/transform/Spatter)\n- [Superpixels](https://explore.albumentations.ai/transform/Superpixels)\n- [TextImage](https://explore.albumentations.ai/transform/TextImage)\n- [ToFloat](https://explore.albumentations.ai/transform/ToFloat)\n- [ToGray](https://explore.albumentations.ai/transform/ToGray)\n- [ToRGB](https://explore.albumentations.ai/transform/ToRGB)\n- [ToSepia](https://explore.albumentations.ai/transform/ToSepia)\n- [UnsharpMask](https://explore.albumentations.ai/transform/UnsharpMask)\n- [Vignetting](https://explore.albumentations.ai/transform/Vignetting)\n- [ZoomBlur](https://explore.albumentations.ai/transform/ZoomBlur)\n\n### Spatial-level transforms\n\nSpatial-level transforms will simultaneously change both an input image as well as additional targets such as masks, bounding boxes, and keypoints. 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 following table shows which additional targets are supported by each transform:\n\n- Volume: 3D array of shape (D, H, W) or (D, H, W, C) where D is depth, H is height, W is width, and C is number of channels (optional)\n- Mask3D: Binary or multi-class 3D mask of shape (D, H, W) where each slice represents segmentation for the corresponding volume slice\n\n| Transform                                                                                        | Image | Mask | BBoxes (HBB) | BBoxes (OBB) | Keypoints | Volume | Mask3D |\n| ------------------------------------------------------------------------------------------------ | :---: | :--: | :----------: | :----------: | :-------: | :----: | :----: |\n| [Affine](https://explore.albumentations.ai/transform/Affine)                                     | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [AtLeastOneBBoxRandomCrop](https://explore.albumentations.ai/transform/AtLeastOneBBoxRandomCrop) | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [BBoxSafeRandomCrop](https://explore.albumentations.ai/transform/BBoxSafeRandomCrop)             | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [CenterCrop](https://explore.albumentations.ai/transform/CenterCrop)                             | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [CoarseDropout](https://explore.albumentations.ai/transform/CoarseDropout)                       | ✓     | ✓    | ✓            |              | ✓         | ✓      | ✓      |\n| [ConstrainedCoarseDropout](https://explore.albumentations.ai/transform/ConstrainedCoarseDropout) | ✓     | ✓    | ✓            |              | ✓         | ✓      | ✓      |\n| [Crop](https://explore.albumentations.ai/transform/Crop)                                         | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [CropAndPad](https://explore.albumentations.ai/transform/CropAndPad)                             | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [CropNonEmptyMaskIfExists](https://explore.albumentations.ai/transform/CropNonEmptyMaskIfExists) | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [D4](https://explore.albumentations.ai/transform/D4)                                             | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [ElasticTransform](https://explore.albumentations.ai/transform/ElasticTransform)                 | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [Erasing](https://explore.albumentations.ai/transform/Erasing)                                   | ✓     | ✓    | ✓            |              | ✓         | ✓      | ✓      |\n| [FrequencyMasking](https://explore.albumentations.ai/transform/FrequencyMasking)                 | ✓     | ✓    | ✓            |              | ✓         | ✓      | ✓      |\n| [GridDistortion](https://explore.albumentations.ai/transform/GridDistortion)                     | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [GridDropout](https://explore.albumentations.ai/transform/GridDropout)                           | ✓     | ✓    | ✓            |              | ✓         | ✓      | ✓      |\n| [GridElasticDeform](https://explore.albumentations.ai/transform/GridElasticDeform)               | ✓     | ✓    | ✓            |              | ✓         | ✓      | ✓      |\n| [GridMask](https://explore.albumentations.ai/transform/GridMask)                                 | ✓     | ✓    | ✓            |              | ✓         | ✓      | ✓      |\n| [HorizontalFlip](https://explore.albumentations.ai/transform/HorizontalFlip)                     | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [Lambda](https://explore.albumentations.ai/transform/Lambda)                                     | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [LetterBox](https://explore.albumentations.ai/transform/LetterBox)                               | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [LongestMaxSize](https://explore.albumentations.ai/transform/LongestMaxSize)                     | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [MaskDropout](https://explore.albumentations.ai/transform/MaskDropout)                           | ✓     | ✓    | ✓            |              | ✓         | ✓      | ✓      |\n| [Morphological](https://explore.albumentations.ai/transform/Morphological)                       | ✓     | ✓    | ✓            |              | ✓         | ✓      | ✓      |\n| [Mosaic](https://explore.albumentations.ai/transform/Mosaic)                                     | ✓     | ✓    | ✓            | ✓            | ✓         |        |        |\n| [NoOp](https://explore.albumentations.ai/transform/NoOp)                                         | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [OpticalDistortion](https://explore.albumentations.ai/transform/OpticalDistortion)               | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [OverlayElements](https://explore.albumentations.ai/transform/OverlayElements)                   | ✓     | ✓    |              |              |           |        |        |\n| [Pad](https://explore.albumentations.ai/transform/Pad)                                           | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [PadIfNeeded](https://explore.albumentations.ai/transform/PadIfNeeded)                           | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [Perspective](https://explore.albumentations.ai/transform/Perspective)                           | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [PiecewiseAffine](https://explore.albumentations.ai/transform/PiecewiseAffine)                   | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [PixelDropout](https://explore.albumentations.ai/transform/PixelDropout)                         | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [RandomCrop](https://explore.albumentations.ai/transform/RandomCrop)                             | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [RandomCropFromBorders](https://explore.albumentations.ai/transform/RandomCropFromBorders)       | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [RandomCropNearBBox](https://explore.albumentations.ai/transform/RandomCropNearBBox)             | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [RandomGridShuffle](https://explore.albumentations.ai/transform/RandomGridShuffle)               | ✓     | ✓    | ✓            |              | ✓         | ✓      | ✓      |\n| [RandomResizedCrop](https://explore.albumentations.ai/transform/RandomResizedCrop)               | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [RandomRotate90](https://explore.albumentations.ai/transform/RandomRotate90)                     | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [RandomScale](https://explore.albumentations.ai/transform/RandomScale)                           | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [RandomSizedBBoxSafeCrop](https://explore.albumentations.ai/transform/RandomSizedBBoxSafeCrop)   | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [RandomSizedCrop](https://explore.albumentations.ai/transform/RandomSizedCrop)                   | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [Resize](https://explore.albumentations.ai/transform/Resize)                                     | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [Rotate](https://explore.albumentations.ai/transform/Rotate)                                     | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [SafeRotate](https://explore.albumentations.ai/transform/SafeRotate)                             | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [ShiftScaleRotate](https://explore.albumentations.ai/transform/ShiftScaleRotate)                 | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [SmallestMaxSize](https://explore.albumentations.ai/transform/SmallestMaxSize)                   | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [SquareSymmetry](https://explore.albumentations.ai/transform/SquareSymmetry)                     | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [ThinPlateSpline](https://explore.albumentations.ai/transform/ThinPlateSpline)                   | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [TimeMasking](https://explore.albumentations.ai/transform/TimeMasking)                           | ✓     | ✓    | ✓            |              | ✓         | ✓      | ✓      |\n| [TimeReverse](https://explore.albumentations.ai/transform/TimeReverse)                           | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [Transpose](https://explore.albumentations.ai/transform/Transpose)                               | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [VerticalFlip](https://explore.albumentations.ai/transform/VerticalFlip)                         | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [WaterRefraction](https://explore.albumentations.ai/transform/WaterRefraction)                   | ✓     | ✓    | ✓            | ✓            | ✓         | ✓      | ✓      |\n| [XYMasking](https://explore.albumentations.ai/transform/XYMasking)                               | ✓     | ✓    | ✓            |              | ✓         | ✓      | ✓      |\n\n### 3D transforms\n\n3D transforms operate on volumetric data and can modify both the input volume and associated 3D mask.\n\nWhere:\n\n- Volume: 3D array of shape (D, H, W) or (D, H, W, C) where D is depth, H is height, W is width, and C is number of channels (optional)\n- Mask3D: Binary or multi-class 3D mask of shape (D, H, W) where each slice represents segmentation for the corresponding volume slice\n\n| Transform                                                                      | Volume | Mask3D | Keypoints |\n| ------------------------------------------------------------------------------ | :----: | :----: | :-------: |\n| [CenterCrop3D](https://explore.albumentations.ai/transform/CenterCrop3D)       | ✓      | ✓      | ✓         |\n| [CoarseDropout3D](https://explore.albumentations.ai/transform/CoarseDropout3D) | ✓      | ✓      | ✓         |\n| [CubicSymmetry](https://explore.albumentations.ai/transform/CubicSymmetry)     | ✓      | ✓      | ✓         |\n| [GridShuffle3D](https://explore.albumentations.ai/transform/GridShuffle3D)     | ✓      | ✓      | ✓         |\n| [Pad3D](https://explore.albumentations.ai/transform/Pad3D)                     | ✓      | ✓      | ✓         |\n| [PadIfNeeded3D](https://explore.albumentations.ai/transform/PadIfNeeded3D)     | ✓      | ✓      | ✓         |\n| [RandomCrop3D](https://explore.albumentations.ai/transform/RandomCrop3D)       | ✓      | ✓      | ✓         |\n\n## A few more examples of **augmentations**\n\n### Semantic segmentation on the Inria dataset\n\n![inria](https://habrastorage.org/webt/su/wa/np/suwanpeo6ww7wpwtobtrzd_cg20.jpeg)\n\n### Medical imaging\n\n![medical](https://habrastorage.org/webt/1i/fi/wz/1ifiwzy0lxetc4nwjvss-71nkw0.jpeg)\n\n### Object detection and semantic segmentation on the Mapillary Vistas dataset\n\n![vistas](https://habrastorage.org/webt/rz/-h/3j/rz-h3jalbxic8o_fhucxysts4tc.jpeg)\n\n### Keypoints augmentation\n\n\u003cimg src=\"https://habrastorage.org/webt/e-/6k/z-/e-6kz-fugp2heak3jzns3bc-r8o.jpeg\" width=100%\u003e\n\n## Benchmark Results\n\n### Image Benchmark Results\n\n### System Information\n\n- Platform: macOS-15.1-arm64-arm-64bit\n- Processor: arm\n- CPU Count: 16\n- Python Version: 3.12.8\n\n### Benchmark Parameters\n\n- Number of images: 2000\n- Runs per transform: 5\n- Max warmup iterations: 1000\n\n### Library Versions\n\n- albumentationsx: 2.0.8\n- augly: 1.0.0\n- imgaug: 0.4.0\n- kornia: 0.8.0\n- torchvision: 0.20.1\n\n## Performance Comparison\n\nNumber shows how many uint8 images per second can be processed on one CPU thread. Larger is better.\nThe Speedup column shows how many times faster AlbumentationsX is compared to the fastest other\nlibrary for each transform.\n\n| Transform            | albumentationsx\u003cbr\u003e2.0.8 | augly\u003cbr\u003e1.0.0 | imgaug\u003cbr\u003e0.4.0 | kornia\u003cbr\u003e0.8.0 | torchvision\u003cbr\u003e0.20.1 | Speedup\u003cbr\u003e(AlbX/fastest other) |\n|:---------------------|:-------------------------|:---------------|:----------------|:----------------|:----------------------|:--------------------------------|\n| Affine               | **1445 ± 9**             | -              | 1328 ± 16       | 248 ± 6         | 188 ± 2               | 1.09x                           |\n| AutoContrast         | **1657 ± 13**            | -              | -               | 541 ± 8         | 344 ± 1               | 3.06x                           |\n| Blur                 | **7657 ± 114**           | 386 ± 4        | 5381 ± 125      | 265 ± 11        | -                     | 1.42x                           |\n| Brightness           | **11985 ± 455**          | 2108 ± 32      | 1076 ± 32       | 1127 ± 27       | 854 ± 13              | 5.68x                           |\n| CLAHE                | **647 ± 4**              | -              | 555 ± 14        | 165 ± 3         | -                     | 1.17x                           |\n| CenterCrop128        | **119293 ± 2164**        | -              | -               | -               | -                     | N/A                             |\n| ChannelDropout       | **11534 ± 306**          | -              | -               | 2283 ± 24       | -                     | 5.05x                           |\n| ChannelShuffle       | **6772 ± 109**           | -              | 1252 ± 26       | 1328 ± 44       | 4417 ± 234            | 1.53x                           |\n| CoarseDropout        | **18962 ± 1346**         | -              | 1190 ± 22       | -               | -                     | 15.93x                          |\n| ColorJitter          | **1020 ± 91**            | 418 ± 5        | -               | 104 ± 4         | 87 ± 1                | 2.44x                           |\n| Contrast             | **12394 ± 363**          | 1379 ± 25      | 717 ± 5         | 1109 ± 41       | 602 ± 13              | 8.99x                           |\n| CornerIllumination   | **484 ± 7**              | -              | -               | 452 ± 3         | -                     | 1.07x                           |\n| Elastic              | 374 ± 2                  | -              | **395 ± 14**    | 1 ± 0           | 3 ± 0                 | 0.95x                           |\n| Equalize             | **1236 ± 21**            | -              | 814 ± 11        | 306 ± 1         | 795 ± 3               | 1.52x                           |\n| Erasing              | **27451 ± 2794**         | -              | -               | 1210 ± 27       | 3577 ± 49             | 7.67x                           |\n| GaussianBlur         | **2350 ± 118**           | 387 ± 4        | 1460 ± 23       | 254 ± 5         | 127 ± 4               | 1.61x                           |\n| GaussianIllumination | **720 ± 7**              | -              | -               | 436 ± 13        | -                     | 1.65x                           |\n| GaussianNoise        | **315 ± 4**              | -              | 263 ± 9         | 125 ± 1         | -                     | 1.20x                           |\n| Grayscale            | **32284 ± 1130**         | 6088 ± 107     | 3100 ± 24       | 1201 ± 52       | 2600 ± 23             | 5.30x                           |\n| HSV                  | **1197 ± 23**            | -              | -               | -               | -                     | N/A                             |\n| HorizontalFlip       | **14460 ± 368**          | 8808 ± 1012    | 9599 ± 495      | 1297 ± 13       | 2486 ± 107            | 1.51x                           |\n| Hue                  | **1944 ± 64**            | -              | -               | 150 ± 1         | -                     | 12.98x                          |\n| Invert               | **27665 ± 3803**         | -              | 3682 ± 79       | 2881 ± 43       | 4244 ± 30             | 6.52x                           |\n| JpegCompression      | **1321 ± 33**            | 1202 ± 19      | 687 ± 26        | 120 ± 1         | 889 ± 7               | 1.10x                           |\n| LinearIllumination   | 479 ± 5                  | -              | -               | **708 ± 6**     | -                     | 0.68x                           |\n| MedianBlur           | **1229 ± 9**             | -              | 1152 ± 14       | 6 ± 0           | -                     | 1.07x                           |\n| MotionBlur           | **3521 ± 25**            | -              | 928 ± 37        | 159 ± 1         | -                     | 3.79x                           |\n| Normalize            | **1819 ± 49**            | -              | -               | 1251 ± 14       | 1018 ± 7              | 1.45x                           |\n| OpticalDistortion    | **661 ± 7**              | -              | -               | 174 ± 0         | -                     | 3.80x                           |\n| Pad                  | **48589 ± 2059**         | -              | -               | -               | 4889 ± 183            | 9.94x                           |\n| Perspective          | **1206 ± 3**             | -              | 908 ± 8         | 154 ± 3         | 147 ± 5               | 1.33x                           |\n| PlankianJitter       | **3221 ± 63**            | -              | -               | 2150 ± 52       | -                     | 1.50x                           |\n| PlasmaBrightness     | **168 ± 2**              | -              | -               | 85 ± 1          | -                     | 1.98x                           |\n| PlasmaContrast       | **145 ± 3**              | -              | -               | 84 ± 0          | -                     | 1.71x                           |\n| PlasmaShadow         | 183 ± 5                  | -              | -               | **216 ± 5**     | -                     | 0.85x                           |\n| Posterize            | **12979 ± 1121**         | -              | 3111 ± 95       | 836 ± 30        | 4247 ± 26             | 3.06x                           |\n| RGBShift             | **3391 ± 104**           | -              | -               | 896 ± 9         | -                     | 3.79x                           |\n| Rain                 | **2043 ± 115**           | -              | -               | 1493 ± 9        | -                     | 1.37x                           |\n| RandomCrop128        | **111859 ± 1374**        | 45395 ± 934    | 21408 ± 622     | 2946 ± 42       | 31450 ± 249           | 2.46x                           |\n| RandomGamma          | **12444 ± 753**          | -              | 3504 ± 72       | 230 ± 3         | -                     | 3.55x                           |\n| RandomResizedCrop    | **4347 ± 37**            | -              | -               | 661 ± 16        | 837 ± 37              | 5.19x                           |\n| Resize               | **3532 ± 67**            | 1083 ± 21      | 2995 ± 70       | 645 ± 13        | 260 ± 9               | 1.18x                           |\n| Rotate               | **2912 ± 68**            | 1739 ± 105     | 2574 ± 10       | 256 ± 2         | 258 ± 4               | 1.13x                           |\n| SaltAndPepper        | **629 ± 6**              | -              | -               | 480 ± 12        | -                     | 1.31x                           |\n| Saturation           | **1596 ± 24**            | -              | 495 ± 3         | 155 ± 2         | -                     | 3.22x                           |\n| Sharpen              | **2346 ± 10**            | -              | 1101 ± 30       | 201 ± 2         | 220 ± 3               | 2.13x                           |\n| Shear                | **1299 ± 11**            | -              | 1244 ± 14       | 261 ± 1         | -                     | 1.04x                           |\n| Snow                 | **611 ± 9**              | -              | -               | 143 ± 1         | -                     | 4.28x                           |\n| Solarize             | **11756 ± 481**          | -              | 3843 ± 80       | 263 ± 6         | 1032 ± 14             | 3.06x                           |\n| ThinPlateSpline      | **82 ± 1**               | -              | -               | 58 ± 0          | -                     | 1.41x                           |\n| VerticalFlip         | **32386 ± 936**          | 16830 ± 1653   | 19935 ± 1708    | 2872 ± 37       | 4696 ± 161            | 1.62x                           |\n\n## 🤝 Contribute\n\nWe thrive on community collaboration! AlbumentationsX wouldn't be the powerful augmentation library it is without contributions from developers like you. Please see our [Contributing Guide](CONTRIBUTING.md) to get started. A huge **Thank You** 🙏 to everyone who contributes!\n\n[![AlbumentationsX open-source contributors](https://contrib.rocks/image?repo=albumentations-team/AlbumentationsX)](https://github.com/albumentations-team/AlbumentationsX/graphs/contributors)\n\nWe look forward to your contributions to help make the AlbumentationsX ecosystem even better!\n\n## 📜 License\n\nAlbumentationsX offers two licensing options to suit different needs:\n\n- **AGPL-3.0 License**: This [OSI-approved](https://opensource.org/license) open-source license is perfect for students, researchers, and enthusiasts. It encourages open collaboration and knowledge sharing. See the [LICENSE](https://github.com/albumentations-team/AlbumentationsX/blob/main/LICENSE) file for full details.\n- **AlbumentationsX Commercial License**: Designed for commercial use, this license allows for the seamless integration of AlbumentationsX into commercial products and services, bypassing the open-source requirements of AGPL-3.0. If your use case involves commercial deployment, please visit [our pricing page](https://albumentations.ai/pricing).\n\n## 📞 Contact\n\nFor bug reports and feature requests related to AlbumentationsX, please visit [GitHub Issues](https://github.com/albumentations-team/AlbumentationsX/issues). For questions, discussions, and community support, join our active communities on [Discord](https://discord.gg/AKPrrDYNAt), [Twitter](https://twitter.com/albumentations), [LinkedIn](https://www.linkedin.com/company/albumentations/), and [Reddit](https://www.reddit.com/r/Albumentations/). We're here to help with all things AlbumentationsX!\n\n## Citing\n\nIf you find this library useful for your research, please consider citing [Albumentations: Fast and Flexible Image Augmentations](https://www.mdpi.com/2078-2489/11/2/125):\n\n```bibtex\n@Article{info11020125,\n    AUTHOR = {Buslaev, Alexander and Iglovikov, Vladimir I. and Khvedchenya, Eugene and Parinov, Alex and Druzhinin, Mikhail and Kalinin, Alexandr A.},\n    TITLE = {Albumentations: Fast and Flexible Image Augmentations},\n    JOURNAL = {Information},\n    VOLUME = {11},\n    YEAR = {2020},\n    NUMBER = {2},\n    ARTICLE-NUMBER = {125},\n    URL = {https://www.mdpi.com/2078-2489/11/2/125},\n    ISSN = {2078-2489},\n    DOI = {10.3390/info11020125}\n}\n```\n\n---\n\n## 📫 Stay Connected\n\nNever miss updates, tutorials, and tips from the AlbumentationsX team! [Subscribe to our newsletter](https://albumentations.ai/subscribe).\n\n\u003c!-- GitAds-Verify: 99ZXCN5GQ9CQN3QEMO5H4RAOI8C5YTKV --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbumentations-team%2Falbumentationsx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falbumentations-team%2Falbumentationsx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbumentations-team%2Falbumentationsx/lists"}