albumentationsx


Namealbumentationsx JSON
Version 2.0.12 PyPI version JSON
download
home_pageNone
SummaryFast, flexible, and advanced augmentation library for deep learning, computer vision, and medical imaging. Albumentations offers a wide range of transformations for both 2D (images, masks, bboxes, keypoints) and 3D (volumes, volumetric masks, keypoints) data, with optimized performance and seamless integration into ML workflows.
upload_time2025-10-08 12:50:55
maintainerVladimir Iglovikov
docs_urlNone
authorVladimir Iglovikov
requires_python>=3.9
licenseAlbumentationsX Dual License Notice =================================== AlbumentationsX is available under two different licensing options: 1. **AGPL-3.0 License** (this file) - For open source use - Free for open-source projects - Requires compliance with AGPL-3.0 terms - See full license text below 2. **Commercial License** - For proprietary/commercial use - No source code disclosure requirements - Full commercial support - Available for purchase at https://albumentations.ai/pricing For licensing questions, contact us at https://albumentations.ai/contact The full AGPL-3.0 license text follows: --- GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007 Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU Affero General Public License is a free, copyleft license for software and other kinds of works, specifically designed to ensure cooperation with the community in the case of network server software. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, our General Public Licenses are intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. Developers that use our General Public Licenses protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License which gives you legal permission to copy, distribute and/or modify the software. A secondary benefit of defending all users' freedom is that improvements made in alternate versions of the program, if they receive widespread use, become available for other developers to incorporate. Many developers of free software are heartened and encouraged by the resulting cooperation. However, in the case of software used on network servers, this result may fail to come about. The GNU General Public License permits making a modified version and letting the public access it on a server without ever releasing its source code to the public. The GNU Affero General Public License is designed specifically to ensure that, in such cases, the modified source code becomes available to the community. It requires the operator of a network server to provide the source code of the modified version running there to the users of that server. Therefore, public use of a modified version, on a publicly accessible server, gives the public access to the source code of the modified version. An older license, called the Affero General Public License and published by Affero, was designed to accomplish similar goals. This is a different license, not a version of the Affero GPL, but Affero has released a new version of the Affero GPL which permits relicensing under this license. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU Affero General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Remote Network Interaction; Use with the GNU General Public License. Notwithstanding any other provision of this License, if you modify the Program, your modified version must prominently offer all users interacting with it remotely through a computer network (if your version supports such interaction) an opportunity to receive the Corresponding Source of your version by providing access to the Corresponding Source from a network server at no charge, through some standard or customary means of facilitating copying of software. This Corresponding Source shall include the Corresponding Source for any work covered by version 3 of the GNU General Public License that is incorporated pursuant to the following paragraph. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the work with which it is combined will remain governed by version 3 of the GNU General Public License. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU Affero General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU Affero General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU Affero General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU Affero General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. <one line to give the program's name and a brief idea of what it does.> Copyright (C) <year> <name of author> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see <https://www.gnu.org/licenses/>. Also add information on how to contact you by electronic and paper mail. If your software can interact with users remotely through a computer network, you should also make sure that it provides a way for users to get its source. For example, if your program is a web application, its interface could display a "Source" link that leads users to an archive of the code. There are many ways you could offer source, and different solutions will be better for different programs; see section 13 for the specific requirements. You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU AGPL, see <https://www.gnu.org/licenses/>.
keywords 2d augmentation 3d augmentation aerial photography anomaly detection artificial intelligence autonomous driving bounding boxes classification computer vision computer vision library data augmentation data preprocessing data science deep learning deep learning library depth estimation face recognition fast augmentation image augmentation image processing image transformation images instance segmentation keras keypoint detection keypoints machine learning machine learning tools masks medical imaging microscopy object counting object detection optimized performance panoptic segmentation pose estimation python library pytorch quality inspection real-time processing robotics vision satellite imagery semantic segmentation tensorflow volumes volumetric data volumetric masks
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # AlbumentationsX

[![PyPI version](https://badge.fury.io/py/albumentationsx.svg)](https://badge.fury.io/py/albumentationsx)
![CI](https://github.com/albumentations-team/AlbumentationsX/workflows/CI/badge.svg)
[![PyPI Downloads](https://img.shields.io/pypi/dm/albumentationsx.svg?label=PyPI%20downloads)](https://pypi.org/project/albumentationsx/)

> 📣 **Stay updated!** [Subscribe to our newsletter](https://albumentations.ai/subscribe) for the latest releases, tutorials, and tips.

[![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-blue.svg)](https://www.gnu.org/licenses/agpl-3.0)

[Docs](https://albumentations.ai/docs/) | [Discord](https://discord.gg/AKPrrDYNAt) | [Twitter](https://twitter.com/albumentations) | [LinkedIn](https://www.linkedin.com/company/100504475/)

**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.

## GitAds Sponsored

[![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)

## 📢 Important: AlbumentationsX Licensing

AlbumentationsX offers dual licensing:

- **AGPL-3.0 License**: Free for open-source projects
- **Commercial License**: For proprietary/commercial use (contact for pricing)

### Quick Start

```bash
# Install AlbumentationsX
pip install albumentationsx
```

```python
import albumentations as A

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

For commercial licensing inquiries, please visit [our pricing page](https://albumentations.ai/pricing).

---

Here is an example of how you can apply some [pixel-level](#pixel-level-transforms) augmentations to create new images from the original one:
![parrot](https://habrastorage.org/webt/bd/ne/rv/bdnerv5ctkudmsaznhw4crsdfiw.jpeg)

## Why AlbumentationsX

- **Complete Computer Vision Support**: Works with all major CV tasks
- **Simple, Unified API**: [One consistent interface](#a-simple-example) for all data types - RGB/grayscale/multispectral images, masks, bounding boxes, and keypoints.
- **Rich Augmentation Library**: [70+ high-quality augmentations](https://albumentations.ai/docs/reference/supported-targets-by-transform/) to enhance your training data.
- **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.
- **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/).
- **Created by Experts**: Built by [developers with deep experience in computer vision and machine learning competitions](#authors).

## Table of contents

- [AlbumentationsX](#albumentationsx)
  - [Why AlbumentationsX](#why-albumentationsx)
  - [Table of contents](#table-of-contents)
  - [Authors](#authors)
    - [Current Maintainer](#current-maintainer)
    - [Emeritus Core Team Members](#emeritus-core-team-members)
  - [Installation](#installation)
  - [Documentation](#documentation)
  - [A simple example](#a-simple-example)
  - [List of augmentations](#list-of-augmentations)
    - [Pixel-level transforms](#pixel-level-transforms)
    - [Spatial-level transforms](#spatial-level-transforms)
  - [A few more examples of **augmentations**](#a-few-more-examples-of-augmentations)
    - [Semantic segmentation on the Inria dataset](#semantic-segmentation-on-the-inria-dataset)
    - [Medical imaging](#medical-imaging)
    - [Object detection and semantic segmentation on the Mapillary Vistas dataset](#object-detection-and-semantic-segmentation-on-the-mapillary-vistas-dataset)
    - [Keypoints augmentation](#keypoints-augmentation)
  - [Benchmarking results](#benchmark-results)
    - [System Information](#system-information)
    - [Benchmark Parameters](#benchmark-parameters)
    - [Library Versions](#library-versions)
  - [Performance Comparison](#performance-comparison)
  - [🤝 Contribute](#-contribute)
  - [📜 License](#-license)
  - [📞 Contact](#-contact)
  - [Citing](#citing)

## Authors

### Current Maintainer

[**Vladimir I. Iglovikov**](https://www.linkedin.com/in/iglovikov/) | [Kaggle Grandmaster](https://www.kaggle.com/iglovikov)

### Emeritus Core Team Members

[**Mikhail Druzhinin**](https://www.linkedin.com/in/mikhail-druzhinin-548229100/) | [Kaggle Expert](https://www.kaggle.com/dipetm)

[**Alex Parinov**](https://www.linkedin.com/in/alex-parinov/) | [Kaggle Master](https://www.kaggle.com/creafz)

[**Alexander Buslaev**](https://www.linkedin.com/in/al-buslaev/) | [Kaggle Master](https://www.kaggle.com/albuslaev)

[**Eugene Khvedchenya**](https://www.linkedin.com/in/cvtalks/) | [Kaggle Grandmaster](https://www.kaggle.com/bloodaxe)

## Installation

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

```bash
pip install -U albumentationsx
```

Other installation options are described in the [documentation](https://albumentations.ai/docs/1-introduction/installation/).

## Documentation

The full documentation is available at **[https://albumentations.ai/docs/](https://albumentations.ai/docs/)**.

## A simple example

```python
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"]
```

AlbumentationsX collects anonymous usage statistics to improve the library. This can be disabled with `ALBUMENTATIONS_OFFLINE=1` or `ALBUMENTATIONS_NO_TELEMETRY=1`.

## 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](https://explore.albumentations.ai/transform/AdditiveNoise)
- [AdvancedBlur](https://explore.albumentations.ai/transform/AdvancedBlur)
- [AutoContrast](https://explore.albumentations.ai/transform/AutoContrast)
- [Blur](https://explore.albumentations.ai/transform/Blur)
- [CLAHE](https://explore.albumentations.ai/transform/CLAHE)
- [ChannelDropout](https://explore.albumentations.ai/transform/ChannelDropout)
- [ChannelShuffle](https://explore.albumentations.ai/transform/ChannelShuffle)
- [ChromaticAberration](https://explore.albumentations.ai/transform/ChromaticAberration)
- [ColorJitter](https://explore.albumentations.ai/transform/ColorJitter)
- [Defocus](https://explore.albumentations.ai/transform/Defocus)
- [Dithering](https://explore.albumentations.ai/transform/Dithering)
- [Downscale](https://explore.albumentations.ai/transform/Downscale)
- [Emboss](https://explore.albumentations.ai/transform/Emboss)
- [Equalize](https://explore.albumentations.ai/transform/Equalize)
- [FDA](https://explore.albumentations.ai/transform/FDA)
- [FancyPCA](https://explore.albumentations.ai/transform/FancyPCA)
- [FromFloat](https://explore.albumentations.ai/transform/FromFloat)
- [GaussNoise](https://explore.albumentations.ai/transform/GaussNoise)
- [GaussianBlur](https://explore.albumentations.ai/transform/GaussianBlur)
- [GlassBlur](https://explore.albumentations.ai/transform/GlassBlur)
- [HEStain](https://explore.albumentations.ai/transform/HEStain)
- [HistogramMatching](https://explore.albumentations.ai/transform/HistogramMatching)
- [HueSaturationValue](https://explore.albumentations.ai/transform/HueSaturationValue)
- [ISONoise](https://explore.albumentations.ai/transform/ISONoise)
- [Illumination](https://explore.albumentations.ai/transform/Illumination)
- [ImageCompression](https://explore.albumentations.ai/transform/ImageCompression)
- [InvertImg](https://explore.albumentations.ai/transform/InvertImg)
- [MedianBlur](https://explore.albumentations.ai/transform/MedianBlur)
- [MotionBlur](https://explore.albumentations.ai/transform/MotionBlur)
- [MultiplicativeNoise](https://explore.albumentations.ai/transform/MultiplicativeNoise)
- [Normalize](https://explore.albumentations.ai/transform/Normalize)
- [PixelDistributionAdaptation](https://explore.albumentations.ai/transform/PixelDistributionAdaptation)
- [PlanckianJitter](https://explore.albumentations.ai/transform/PlanckianJitter)
- [PlasmaBrightnessContrast](https://explore.albumentations.ai/transform/PlasmaBrightnessContrast)
- [PlasmaShadow](https://explore.albumentations.ai/transform/PlasmaShadow)
- [Posterize](https://explore.albumentations.ai/transform/Posterize)
- [RGBShift](https://explore.albumentations.ai/transform/RGBShift)
- [RandomBrightnessContrast](https://explore.albumentations.ai/transform/RandomBrightnessContrast)
- [RandomFog](https://explore.albumentations.ai/transform/RandomFog)
- [RandomGamma](https://explore.albumentations.ai/transform/RandomGamma)
- [RandomGravel](https://explore.albumentations.ai/transform/RandomGravel)
- [RandomRain](https://explore.albumentations.ai/transform/RandomRain)
- [RandomShadow](https://explore.albumentations.ai/transform/RandomShadow)
- [RandomSnow](https://explore.albumentations.ai/transform/RandomSnow)
- [RandomSunFlare](https://explore.albumentations.ai/transform/RandomSunFlare)
- [RandomToneCurve](https://explore.albumentations.ai/transform/RandomToneCurve)
- [RingingOvershoot](https://explore.albumentations.ai/transform/RingingOvershoot)
- [SaltAndPepper](https://explore.albumentations.ai/transform/SaltAndPepper)
- [Sharpen](https://explore.albumentations.ai/transform/Sharpen)
- [ShotNoise](https://explore.albumentations.ai/transform/ShotNoise)
- [Solarize](https://explore.albumentations.ai/transform/Solarize)
- [Spatter](https://explore.albumentations.ai/transform/Spatter)
- [Superpixels](https://explore.albumentations.ai/transform/Superpixels)
- [TextImage](https://explore.albumentations.ai/transform/TextImage)
- [ToFloat](https://explore.albumentations.ai/transform/ToFloat)
- [ToGray](https://explore.albumentations.ai/transform/ToGray)
- [ToRGB](https://explore.albumentations.ai/transform/ToRGB)
- [ToSepia](https://explore.albumentations.ai/transform/ToSepia)
- [UnsharpMask](https://explore.albumentations.ai/transform/UnsharpMask)
- [ZoomBlur](https://explore.albumentations.ai/transform/ZoomBlur)

### Spatial-level transforms

Spatial-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:

- 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)
- Mask3D: Binary or multi-class 3D mask of shape (D, H, W) where each slice represents segmentation for the corresponding volume slice

| Transform                                                                                        | Image | Mask | BBoxes | Keypoints | Volume | Mask3D |
| ------------------------------------------------------------------------------------------------ | :---: | :--: | :----: | :-------: | :----: | :----: |
| [Affine](https://explore.albumentations.ai/transform/Affine)                                     | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [AtLeastOneBBoxRandomCrop](https://explore.albumentations.ai/transform/AtLeastOneBBoxRandomCrop) | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [BBoxSafeRandomCrop](https://explore.albumentations.ai/transform/BBoxSafeRandomCrop)             | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [CenterCrop](https://explore.albumentations.ai/transform/CenterCrop)                             | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [CoarseDropout](https://explore.albumentations.ai/transform/CoarseDropout)                       | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [ConstrainedCoarseDropout](https://explore.albumentations.ai/transform/ConstrainedCoarseDropout) | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [Crop](https://explore.albumentations.ai/transform/Crop)                                         | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [CropAndPad](https://explore.albumentations.ai/transform/CropAndPad)                             | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [CropNonEmptyMaskIfExists](https://explore.albumentations.ai/transform/CropNonEmptyMaskIfExists) | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [D4](https://explore.albumentations.ai/transform/D4)                                             | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [ElasticTransform](https://explore.albumentations.ai/transform/ElasticTransform)                 | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [Erasing](https://explore.albumentations.ai/transform/Erasing)                                   | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [FrequencyMasking](https://explore.albumentations.ai/transform/FrequencyMasking)                 | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [GridDistortion](https://explore.albumentations.ai/transform/GridDistortion)                     | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [GridDropout](https://explore.albumentations.ai/transform/GridDropout)                           | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [GridElasticDeform](https://explore.albumentations.ai/transform/GridElasticDeform)               | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [HorizontalFlip](https://explore.albumentations.ai/transform/HorizontalFlip)                     | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [Lambda](https://explore.albumentations.ai/transform/Lambda)                                     | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [LongestMaxSize](https://explore.albumentations.ai/transform/LongestMaxSize)                     | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [MaskDropout](https://explore.albumentations.ai/transform/MaskDropout)                           | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [Morphological](https://explore.albumentations.ai/transform/Morphological)                       | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [Mosaic](https://explore.albumentations.ai/transform/Mosaic)                                     | ✓     | ✓    | ✓      | ✓         |        |        |
| [NoOp](https://explore.albumentations.ai/transform/NoOp)                                         | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [OpticalDistortion](https://explore.albumentations.ai/transform/OpticalDistortion)               | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [OverlayElements](https://explore.albumentations.ai/transform/OverlayElements)                   | ✓     | ✓    |        |           |        |        |
| [Pad](https://explore.albumentations.ai/transform/Pad)                                           | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [PadIfNeeded](https://explore.albumentations.ai/transform/PadIfNeeded)                           | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [Perspective](https://explore.albumentations.ai/transform/Perspective)                           | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [PiecewiseAffine](https://explore.albumentations.ai/transform/PiecewiseAffine)                   | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [PixelDropout](https://explore.albumentations.ai/transform/PixelDropout)                         | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [RandomCrop](https://explore.albumentations.ai/transform/RandomCrop)                             | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [RandomCropFromBorders](https://explore.albumentations.ai/transform/RandomCropFromBorders)       | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [RandomCropNearBBox](https://explore.albumentations.ai/transform/RandomCropNearBBox)             | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [RandomGridShuffle](https://explore.albumentations.ai/transform/RandomGridShuffle)               | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [RandomResizedCrop](https://explore.albumentations.ai/transform/RandomResizedCrop)               | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [RandomRotate90](https://explore.albumentations.ai/transform/RandomRotate90)                     | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [RandomScale](https://explore.albumentations.ai/transform/RandomScale)                           | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [RandomSizedBBoxSafeCrop](https://explore.albumentations.ai/transform/RandomSizedBBoxSafeCrop)   | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [RandomSizedCrop](https://explore.albumentations.ai/transform/RandomSizedCrop)                   | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [Resize](https://explore.albumentations.ai/transform/Resize)                                     | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [Rotate](https://explore.albumentations.ai/transform/Rotate)                                     | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [SafeRotate](https://explore.albumentations.ai/transform/SafeRotate)                             | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [ShiftScaleRotate](https://explore.albumentations.ai/transform/ShiftScaleRotate)                 | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [SmallestMaxSize](https://explore.albumentations.ai/transform/SmallestMaxSize)                   | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [SquareSymmetry](https://explore.albumentations.ai/transform/SquareSymmetry)                     | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [ThinPlateSpline](https://explore.albumentations.ai/transform/ThinPlateSpline)                   | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [TimeMasking](https://explore.albumentations.ai/transform/TimeMasking)                           | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [TimeReverse](https://explore.albumentations.ai/transform/TimeReverse)                           | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [Transpose](https://explore.albumentations.ai/transform/Transpose)                               | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [VerticalFlip](https://explore.albumentations.ai/transform/VerticalFlip)                         | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |
| [XYMasking](https://explore.albumentations.ai/transform/XYMasking)                               | ✓     | ✓    | ✓      | ✓         | ✓      | ✓      |

### 3D transforms

3D transforms operate on volumetric data and can modify both the input volume and associated 3D mask.

Where:

- 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)
- Mask3D: Binary or multi-class 3D mask of shape (D, H, W) where each slice represents segmentation for the corresponding volume slice

| Transform                                                                      | Volume | Mask3D | Keypoints |
| ------------------------------------------------------------------------------ | :----: | :----: | :-------: |
| [CenterCrop3D](https://explore.albumentations.ai/transform/CenterCrop3D)       | ✓      | ✓      | ✓         |
| [CoarseDropout3D](https://explore.albumentations.ai/transform/CoarseDropout3D) | ✓      | ✓      | ✓         |
| [CubicSymmetry](https://explore.albumentations.ai/transform/CubicSymmetry)     | ✓      | ✓      | ✓         |
| [GridShuffle3D](https://explore.albumentations.ai/transform/GridShuffle3D)     | ✓      | ✓      | ✓         |
| [Pad3D](https://explore.albumentations.ai/transform/Pad3D)                     | ✓      | ✓      | ✓         |
| [PadIfNeeded3D](https://explore.albumentations.ai/transform/PadIfNeeded3D)     | ✓      | ✓      | ✓         |
| [RandomCrop3D](https://explore.albumentations.ai/transform/RandomCrop3D)       | ✓      | ✓      | ✓         |

## A few more examples of **augmentations**

### Semantic segmentation on the Inria dataset

![inria](https://habrastorage.org/webt/su/wa/np/suwanpeo6ww7wpwtobtrzd_cg20.jpeg)

### Medical imaging

![medical](https://habrastorage.org/webt/1i/fi/wz/1ifiwzy0lxetc4nwjvss-71nkw0.jpeg)

### Object detection and semantic segmentation on the Mapillary Vistas dataset

![vistas](https://habrastorage.org/webt/rz/-h/3j/rz-h3jalbxic8o_fhucxysts4tc.jpeg)

### Keypoints augmentation

<img src="https://habrastorage.org/webt/e-/6k/z-/e-6kz-fugp2heak3jzns3bc-r8o.jpeg" width=100%>

## Benchmark Results

### Image Benchmark Results

### System Information

- Platform: macOS-15.1-arm64-arm-64bit
- Processor: arm
- CPU Count: 16
- Python Version: 3.12.8

### Benchmark Parameters

- Number of images: 2000
- Runs per transform: 5
- Max warmup iterations: 1000

### Library Versions

- albumentationsx: 2.0.8
- augly: 1.0.0
- imgaug: 0.4.0
- kornia: 0.8.0
- torchvision: 0.20.1

## Performance Comparison

Number shows how many uint8 images per second can be processed on one CPU thread. Larger is better.
The Speedup column shows how many times faster AlbumentationsX is compared to the fastest other
library for each transform.

| Transform            | albumentationsx<br>2.0.8   | augly<br>1.0.0   | imgaug<br>0.4.0   | kornia<br>0.8.0   | torchvision<br>0.20.1   | Speedup<br>(AlbX/fastest other)   |
|:---------------------|:--------------------------|:-----------------|:------------------|:------------------|:------------------------|:---------------------------------|
| Affine               | **1445 ± 9**              | -                | 1328 ± 16         | 248 ± 6           | 188 ± 2                 | 1.09x                            |
| AutoContrast         | **1657 ± 13**             | -                | -                 | 541 ± 8           | 344 ± 1                 | 3.06x                            |
| Blur                 | **7657 ± 114**            | 386 ± 4          | 5381 ± 125        | 265 ± 11          | -                       | 1.42x                            |
| Brightness           | **11985 ± 455**           | 2108 ± 32        | 1076 ± 32         | 1127 ± 27         | 854 ± 13                | 5.68x                            |
| CLAHE                | **647 ± 4**               | -                | 555 ± 14          | 165 ± 3           | -                       | 1.17x                            |
| CenterCrop128        | **119293 ± 2164**         | -                | -                 | -                 | -                       | N/A                              |
| ChannelDropout       | **11534 ± 306**           | -                | -                 | 2283 ± 24         | -                       | 5.05x                            |
| ChannelShuffle       | **6772 ± 109**            | -                | 1252 ± 26         | 1328 ± 44         | 4417 ± 234              | 1.53x                            |
| CoarseDropout        | **18962 ± 1346**          | -                | 1190 ± 22         | -                 | -                       | 15.93x                           |
| ColorJitter          | **1020 ± 91**             | 418 ± 5          | -                 | 104 ± 4           | 87 ± 1                  | 2.44x                            |
| Contrast             | **12394 ± 363**           | 1379 ± 25        | 717 ± 5           | 1109 ± 41         | 602 ± 13                | 8.99x                            |
| CornerIllumination   | **484 ± 7**               | -                | -                 | 452 ± 3           | -                       | 1.07x                            |
| Elastic              | 374 ± 2                   | -                | **395 ± 14**      | 1 ± 0             | 3 ± 0                   | 0.95x                            |
| Equalize             | **1236 ± 21**             | -                | 814 ± 11          | 306 ± 1           | 795 ± 3                 | 1.52x                            |
| Erasing              | **27451 ± 2794**          | -                | -                 | 1210 ± 27         | 3577 ± 49               | 7.67x                            |
| GaussianBlur         | **2350 ± 118**            | 387 ± 4          | 1460 ± 23         | 254 ± 5           | 127 ± 4                 | 1.61x                            |
| GaussianIllumination | **720 ± 7**               | -                | -                 | 436 ± 13          | -                       | 1.65x                            |
| GaussianNoise        | **315 ± 4**               | -                | 263 ± 9           | 125 ± 1           | -                       | 1.20x                            |
| Grayscale            | **32284 ± 1130**          | 6088 ± 107       | 3100 ± 24         | 1201 ± 52         | 2600 ± 23               | 5.30x                            |
| HSV                  | **1197 ± 23**             | -                | -                 | -                 | -                       | N/A                              |
| HorizontalFlip       | **14460 ± 368**           | 8808 ± 1012      | 9599 ± 495        | 1297 ± 13         | 2486 ± 107              | 1.51x                            |
| Hue                  | **1944 ± 64**             | -                | -                 | 150 ± 1           | -                       | 12.98x                           |
| Invert               | **27665 ± 3803**          | -                | 3682 ± 79         | 2881 ± 43         | 4244 ± 30               | 6.52x                            |
| JpegCompression      | **1321 ± 33**             | 1202 ± 19        | 687 ± 26          | 120 ± 1           | 889 ± 7                 | 1.10x                            |
| LinearIllumination   | 479 ± 5                   | -                | -                 | **708 ± 6**       | -                       | 0.68x                            |
| MedianBlur           | **1229 ± 9**              | -                | 1152 ± 14         | 6 ± 0             | -                       | 1.07x                            |
| MotionBlur           | **3521 ± 25**             | -                | 928 ± 37          | 159 ± 1           | -                       | 3.79x                            |
| Normalize            | **1819 ± 49**             | -                | -                 | 1251 ± 14         | 1018 ± 7                | 1.45x                            |
| OpticalDistortion    | **661 ± 7**               | -                | -                 | 174 ± 0           | -                       | 3.80x                            |
| Pad                  | **48589 ± 2059**          | -                | -                 | -                 | 4889 ± 183              | 9.94x                            |
| Perspective          | **1206 ± 3**              | -                | 908 ± 8           | 154 ± 3           | 147 ± 5                 | 1.33x                            |
| PlankianJitter       | **3221 ± 63**             | -                | -                 | 2150 ± 52         | -                       | 1.50x                            |
| PlasmaBrightness     | **168 ± 2**               | -                | -                 | 85 ± 1            | -                       | 1.98x                            |
| PlasmaContrast       | **145 ± 3**               | -                | -                 | 84 ± 0            | -                       | 1.71x                            |
| PlasmaShadow         | 183 ± 5                   | -                | -                 | **216 ± 5**       | -                       | 0.85x                            |
| Posterize            | **12979 ± 1121**          | -                | 3111 ± 95         | 836 ± 30          | 4247 ± 26               | 3.06x                            |
| RGBShift             | **3391 ± 104**            | -                | -                 | 896 ± 9           | -                       | 3.79x                            |
| Rain                 | **2043 ± 115**            | -                | -                 | 1493 ± 9          | -                       | 1.37x                            |
| RandomCrop128        | **111859 ± 1374**         | 45395 ± 934      | 21408 ± 622       | 2946 ± 42         | 31450 ± 249             | 2.46x                            |
| RandomGamma          | **12444 ± 753**           | -                | 3504 ± 72         | 230 ± 3           | -                       | 3.55x                            |
| RandomResizedCrop    | **4347 ± 37**             | -                | -                 | 661 ± 16          | 837 ± 37                | 5.19x                            |
| Resize               | **3532 ± 67**             | 1083 ± 21        | 2995 ± 70         | 645 ± 13          | 260 ± 9                 | 1.18x                            |
| Rotate               | **2912 ± 68**             | 1739 ± 105       | 2574 ± 10         | 256 ± 2           | 258 ± 4                 | 1.13x                            |
| SaltAndPepper        | **629 ± 6**               | -                | -                 | 480 ± 12          | -                       | 1.31x                            |
| Saturation           | **1596 ± 24**             | -                | 495 ± 3           | 155 ± 2           | -                       | 3.22x                            |
| Sharpen              | **2346 ± 10**             | -                | 1101 ± 30         | 201 ± 2           | 220 ± 3                 | 2.13x                            |
| Shear                | **1299 ± 11**             | -                | 1244 ± 14         | 261 ± 1           | -                       | 1.04x                            |
| Snow                 | **611 ± 9**               | -                | -                 | 143 ± 1           | -                       | 4.28x                            |
| Solarize             | **11756 ± 481**           | -                | 3843 ± 80         | 263 ± 6           | 1032 ± 14               | 3.06x                            |
| ThinPlateSpline      | **82 ± 1**                | -                | -                 | 58 ± 0            | -                       | 1.41x                            |
| VerticalFlip         | **32386 ± 936**           | 16830 ± 1653     | 19935 ± 1708      | 2872 ± 37         | 4696 ± 161              | 1.62x                            |

## 🤝 Contribute

We 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!

[![AlbumentationsX open-source contributors](https://contrib.rocks/image?repo=albumentations-team/AlbumentationsX)](https://github.com/albumentations-team/AlbumentationsX/graphs/contributors)

We look forward to your contributions to help make the AlbumentationsX ecosystem even better!

## 📜 License

AlbumentationsX offers two licensing options to suit different needs:

- **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.
- **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).

## 📞 Contact

For 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), and [LinkedIn](https://www.linkedin.com/company/albumentations/). We're here to help with all things AlbumentationsX!

## Citing

If 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):

```bibtex
@Article{info11020125,
    AUTHOR = {Buslaev, Alexander and Iglovikov, Vladimir I. and Khvedchenya, Eugene and Parinov, Alex and Druzhinin, Mikhail and Kalinin, Alexandr A.},
    TITLE = {Albumentations: Fast and Flexible Image Augmentations},
    JOURNAL = {Information},
    VOLUME = {11},
    YEAR = {2020},
    NUMBER = {2},
    ARTICLE-NUMBER = {125},
    URL = {https://www.mdpi.com/2078-2489/11/2/125},
    ISSN = {2078-2489},
    DOI = {10.3390/info11020125}
}
```

---

## 📫 Stay Connected

Never miss updates, tutorials, and tips from the AlbumentationsX team! [Subscribe to our newsletter](https://albumentations.ai/subscribe).

<!-- GitAds-Verify: 99ZXCN5GQ9CQN3QEMO5H4RAOI8C5YTKV -->

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "albumentationsx",
    "maintainer": "Vladimir Iglovikov",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "2D augmentation, 3D augmentation, aerial photography, anomaly detection, artificial intelligence, autonomous driving, bounding boxes, classification, computer vision, computer vision library, data augmentation, data preprocessing, data science, deep learning, deep learning library, depth estimation, face recognition, fast augmentation, image augmentation, image processing, image transformation, images, instance segmentation, keras, keypoint detection, keypoints, machine learning, machine learning tools, masks, medical imaging, microscopy, object counting, object detection, optimized performance, panoptic segmentation, pose estimation, python library, pytorch, quality inspection, real-time processing, robotics vision, satellite imagery, semantic segmentation, tensorflow, volumes, volumetric data, volumetric masks",
    "author": "Vladimir Iglovikov",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/95/75/cde57e66ad0c249b8c872732f33bac4b05b7bd1b7a8c5921a96986e81f13/albumentationsx-2.0.12.tar.gz",
    "platform": null,
    "description": "# 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> \ud83d\udce3 **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\n[Docs](https://albumentations.ai/docs/) | [Discord](https://discord.gg/AKPrrDYNAt) | [Twitter](https://twitter.com/albumentations) | [LinkedIn](https://www.linkedin.com/company/100504475/)\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## \ud83d\udce2 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\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  - [\ud83e\udd1d Contribute](#-contribute)\n  - [\ud83d\udcdc License](#-license)\n  - [\ud83d\udcde 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.9 or higher. To install the latest version from PyPI:\n\n```bash\npip install -U albumentationsx\n```\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- [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- [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- [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- [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- [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- [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- [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 | Keypoints | Volume | Mask3D |\n| ------------------------------------------------------------------------------------------------ | :---: | :--: | :----: | :-------: | :----: | :----: |\n| [Affine](https://explore.albumentations.ai/transform/Affine)                                     | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [AtLeastOneBBoxRandomCrop](https://explore.albumentations.ai/transform/AtLeastOneBBoxRandomCrop) | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [BBoxSafeRandomCrop](https://explore.albumentations.ai/transform/BBoxSafeRandomCrop)             | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [CenterCrop](https://explore.albumentations.ai/transform/CenterCrop)                             | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [CoarseDropout](https://explore.albumentations.ai/transform/CoarseDropout)                       | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [ConstrainedCoarseDropout](https://explore.albumentations.ai/transform/ConstrainedCoarseDropout) | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [Crop](https://explore.albumentations.ai/transform/Crop)                                         | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [CropAndPad](https://explore.albumentations.ai/transform/CropAndPad)                             | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [CropNonEmptyMaskIfExists](https://explore.albumentations.ai/transform/CropNonEmptyMaskIfExists) | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [D4](https://explore.albumentations.ai/transform/D4)                                             | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [ElasticTransform](https://explore.albumentations.ai/transform/ElasticTransform)                 | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [Erasing](https://explore.albumentations.ai/transform/Erasing)                                   | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [FrequencyMasking](https://explore.albumentations.ai/transform/FrequencyMasking)                 | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [GridDistortion](https://explore.albumentations.ai/transform/GridDistortion)                     | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [GridDropout](https://explore.albumentations.ai/transform/GridDropout)                           | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [GridElasticDeform](https://explore.albumentations.ai/transform/GridElasticDeform)               | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [HorizontalFlip](https://explore.albumentations.ai/transform/HorizontalFlip)                     | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [Lambda](https://explore.albumentations.ai/transform/Lambda)                                     | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [LongestMaxSize](https://explore.albumentations.ai/transform/LongestMaxSize)                     | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [MaskDropout](https://explore.albumentations.ai/transform/MaskDropout)                           | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [Morphological](https://explore.albumentations.ai/transform/Morphological)                       | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [Mosaic](https://explore.albumentations.ai/transform/Mosaic)                                     | \u2713     | \u2713    | \u2713      | \u2713         |        |        |\n| [NoOp](https://explore.albumentations.ai/transform/NoOp)                                         | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [OpticalDistortion](https://explore.albumentations.ai/transform/OpticalDistortion)               | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [OverlayElements](https://explore.albumentations.ai/transform/OverlayElements)                   | \u2713     | \u2713    |        |           |        |        |\n| [Pad](https://explore.albumentations.ai/transform/Pad)                                           | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [PadIfNeeded](https://explore.albumentations.ai/transform/PadIfNeeded)                           | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [Perspective](https://explore.albumentations.ai/transform/Perspective)                           | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [PiecewiseAffine](https://explore.albumentations.ai/transform/PiecewiseAffine)                   | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [PixelDropout](https://explore.albumentations.ai/transform/PixelDropout)                         | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [RandomCrop](https://explore.albumentations.ai/transform/RandomCrop)                             | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [RandomCropFromBorders](https://explore.albumentations.ai/transform/RandomCropFromBorders)       | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [RandomCropNearBBox](https://explore.albumentations.ai/transform/RandomCropNearBBox)             | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [RandomGridShuffle](https://explore.albumentations.ai/transform/RandomGridShuffle)               | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [RandomResizedCrop](https://explore.albumentations.ai/transform/RandomResizedCrop)               | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [RandomRotate90](https://explore.albumentations.ai/transform/RandomRotate90)                     | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [RandomScale](https://explore.albumentations.ai/transform/RandomScale)                           | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [RandomSizedBBoxSafeCrop](https://explore.albumentations.ai/transform/RandomSizedBBoxSafeCrop)   | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [RandomSizedCrop](https://explore.albumentations.ai/transform/RandomSizedCrop)                   | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [Resize](https://explore.albumentations.ai/transform/Resize)                                     | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [Rotate](https://explore.albumentations.ai/transform/Rotate)                                     | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [SafeRotate](https://explore.albumentations.ai/transform/SafeRotate)                             | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [ShiftScaleRotate](https://explore.albumentations.ai/transform/ShiftScaleRotate)                 | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [SmallestMaxSize](https://explore.albumentations.ai/transform/SmallestMaxSize)                   | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [SquareSymmetry](https://explore.albumentations.ai/transform/SquareSymmetry)                     | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [ThinPlateSpline](https://explore.albumentations.ai/transform/ThinPlateSpline)                   | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [TimeMasking](https://explore.albumentations.ai/transform/TimeMasking)                           | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [TimeReverse](https://explore.albumentations.ai/transform/TimeReverse)                           | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [Transpose](https://explore.albumentations.ai/transform/Transpose)                               | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [VerticalFlip](https://explore.albumentations.ai/transform/VerticalFlip)                         | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\n| [XYMasking](https://explore.albumentations.ai/transform/XYMasking)                               | \u2713     | \u2713    | \u2713      | \u2713         | \u2713      | \u2713      |\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)       | \u2713      | \u2713      | \u2713         |\n| [CoarseDropout3D](https://explore.albumentations.ai/transform/CoarseDropout3D) | \u2713      | \u2713      | \u2713         |\n| [CubicSymmetry](https://explore.albumentations.ai/transform/CubicSymmetry)     | \u2713      | \u2713      | \u2713         |\n| [GridShuffle3D](https://explore.albumentations.ai/transform/GridShuffle3D)     | \u2713      | \u2713      | \u2713         |\n| [Pad3D](https://explore.albumentations.ai/transform/Pad3D)                     | \u2713      | \u2713      | \u2713         |\n| [PadIfNeeded3D](https://explore.albumentations.ai/transform/PadIfNeeded3D)     | \u2713      | \u2713      | \u2713         |\n| [RandomCrop3D](https://explore.albumentations.ai/transform/RandomCrop3D)       | \u2713      | \u2713      | \u2713         |\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<img src=\"https://habrastorage.org/webt/e-/6k/z-/e-6kz-fugp2heak3jzns3bc-r8o.jpeg\" width=100%>\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<br>2.0.8   | augly<br>1.0.0   | imgaug<br>0.4.0   | kornia<br>0.8.0   | torchvision<br>0.20.1   | Speedup<br>(AlbX/fastest other)   |\n|:---------------------|:--------------------------|:-----------------|:------------------|:------------------|:------------------------|:---------------------------------|\n| Affine               | **1445 \u00b1 9**              | -                | 1328 \u00b1 16         | 248 \u00b1 6           | 188 \u00b1 2                 | 1.09x                            |\n| AutoContrast         | **1657 \u00b1 13**             | -                | -                 | 541 \u00b1 8           | 344 \u00b1 1                 | 3.06x                            |\n| Blur                 | **7657 \u00b1 114**            | 386 \u00b1 4          | 5381 \u00b1 125        | 265 \u00b1 11          | -                       | 1.42x                            |\n| Brightness           | **11985 \u00b1 455**           | 2108 \u00b1 32        | 1076 \u00b1 32         | 1127 \u00b1 27         | 854 \u00b1 13                | 5.68x                            |\n| CLAHE                | **647 \u00b1 4**               | -                | 555 \u00b1 14          | 165 \u00b1 3           | -                       | 1.17x                            |\n| CenterCrop128        | **119293 \u00b1 2164**         | -                | -                 | -                 | -                       | N/A                              |\n| ChannelDropout       | **11534 \u00b1 306**           | -                | -                 | 2283 \u00b1 24         | -                       | 5.05x                            |\n| ChannelShuffle       | **6772 \u00b1 109**            | -                | 1252 \u00b1 26         | 1328 \u00b1 44         | 4417 \u00b1 234              | 1.53x                            |\n| CoarseDropout        | **18962 \u00b1 1346**          | -                | 1190 \u00b1 22         | -                 | -                       | 15.93x                           |\n| ColorJitter          | **1020 \u00b1 91**             | 418 \u00b1 5          | -                 | 104 \u00b1 4           | 87 \u00b1 1                  | 2.44x                            |\n| Contrast             | **12394 \u00b1 363**           | 1379 \u00b1 25        | 717 \u00b1 5           | 1109 \u00b1 41         | 602 \u00b1 13                | 8.99x                            |\n| CornerIllumination   | **484 \u00b1 7**               | -                | -                 | 452 \u00b1 3           | -                       | 1.07x                            |\n| Elastic              | 374 \u00b1 2                   | -                | **395 \u00b1 14**      | 1 \u00b1 0             | 3 \u00b1 0                   | 0.95x                            |\n| Equalize             | **1236 \u00b1 21**             | -                | 814 \u00b1 11          | 306 \u00b1 1           | 795 \u00b1 3                 | 1.52x                            |\n| Erasing              | **27451 \u00b1 2794**          | -                | -                 | 1210 \u00b1 27         | 3577 \u00b1 49               | 7.67x                            |\n| GaussianBlur         | **2350 \u00b1 118**            | 387 \u00b1 4          | 1460 \u00b1 23         | 254 \u00b1 5           | 127 \u00b1 4                 | 1.61x                            |\n| GaussianIllumination | **720 \u00b1 7**               | -                | -                 | 436 \u00b1 13          | -                       | 1.65x                            |\n| GaussianNoise        | **315 \u00b1 4**               | -                | 263 \u00b1 9           | 125 \u00b1 1           | -                       | 1.20x                            |\n| Grayscale            | **32284 \u00b1 1130**          | 6088 \u00b1 107       | 3100 \u00b1 24         | 1201 \u00b1 52         | 2600 \u00b1 23               | 5.30x                            |\n| HSV                  | **1197 \u00b1 23**             | -                | -                 | -                 | -                       | N/A                              |\n| HorizontalFlip       | **14460 \u00b1 368**           | 8808 \u00b1 1012      | 9599 \u00b1 495        | 1297 \u00b1 13         | 2486 \u00b1 107              | 1.51x                            |\n| Hue                  | **1944 \u00b1 64**             | -                | -                 | 150 \u00b1 1           | -                       | 12.98x                           |\n| Invert               | **27665 \u00b1 3803**          | -                | 3682 \u00b1 79         | 2881 \u00b1 43         | 4244 \u00b1 30               | 6.52x                            |\n| JpegCompression      | **1321 \u00b1 33**             | 1202 \u00b1 19        | 687 \u00b1 26          | 120 \u00b1 1           | 889 \u00b1 7                 | 1.10x                            |\n| LinearIllumination   | 479 \u00b1 5                   | -                | -                 | **708 \u00b1 6**       | -                       | 0.68x                            |\n| MedianBlur           | **1229 \u00b1 9**              | -                | 1152 \u00b1 14         | 6 \u00b1 0             | -                       | 1.07x                            |\n| MotionBlur           | **3521 \u00b1 25**             | -                | 928 \u00b1 37          | 159 \u00b1 1           | -                       | 3.79x                            |\n| Normalize            | **1819 \u00b1 49**             | -                | -                 | 1251 \u00b1 14         | 1018 \u00b1 7                | 1.45x                            |\n| OpticalDistortion    | **661 \u00b1 7**               | -                | -                 | 174 \u00b1 0           | -                       | 3.80x                            |\n| Pad                  | **48589 \u00b1 2059**          | -                | -                 | -                 | 4889 \u00b1 183              | 9.94x                            |\n| Perspective          | **1206 \u00b1 3**              | -                | 908 \u00b1 8           | 154 \u00b1 3           | 147 \u00b1 5                 | 1.33x                            |\n| PlankianJitter       | **3221 \u00b1 63**             | -                | -                 | 2150 \u00b1 52         | -                       | 1.50x                            |\n| PlasmaBrightness     | **168 \u00b1 2**               | -                | -                 | 85 \u00b1 1            | -                       | 1.98x                            |\n| PlasmaContrast       | **145 \u00b1 3**               | -                | -                 | 84 \u00b1 0            | -                       | 1.71x                            |\n| PlasmaShadow         | 183 \u00b1 5                   | -                | -                 | **216 \u00b1 5**       | -                       | 0.85x                            |\n| Posterize            | **12979 \u00b1 1121**          | -                | 3111 \u00b1 95         | 836 \u00b1 30          | 4247 \u00b1 26               | 3.06x                            |\n| RGBShift             | **3391 \u00b1 104**            | -                | -                 | 896 \u00b1 9           | -                       | 3.79x                            |\n| Rain                 | **2043 \u00b1 115**            | -                | -                 | 1493 \u00b1 9          | -                       | 1.37x                            |\n| RandomCrop128        | **111859 \u00b1 1374**         | 45395 \u00b1 934      | 21408 \u00b1 622       | 2946 \u00b1 42         | 31450 \u00b1 249             | 2.46x                            |\n| RandomGamma          | **12444 \u00b1 753**           | -                | 3504 \u00b1 72         | 230 \u00b1 3           | -                       | 3.55x                            |\n| RandomResizedCrop    | **4347 \u00b1 37**             | -                | -                 | 661 \u00b1 16          | 837 \u00b1 37                | 5.19x                            |\n| Resize               | **3532 \u00b1 67**             | 1083 \u00b1 21        | 2995 \u00b1 70         | 645 \u00b1 13          | 260 \u00b1 9                 | 1.18x                            |\n| Rotate               | **2912 \u00b1 68**             | 1739 \u00b1 105       | 2574 \u00b1 10         | 256 \u00b1 2           | 258 \u00b1 4                 | 1.13x                            |\n| SaltAndPepper        | **629 \u00b1 6**               | -                | -                 | 480 \u00b1 12          | -                       | 1.31x                            |\n| Saturation           | **1596 \u00b1 24**             | -                | 495 \u00b1 3           | 155 \u00b1 2           | -                       | 3.22x                            |\n| Sharpen              | **2346 \u00b1 10**             | -                | 1101 \u00b1 30         | 201 \u00b1 2           | 220 \u00b1 3                 | 2.13x                            |\n| Shear                | **1299 \u00b1 11**             | -                | 1244 \u00b1 14         | 261 \u00b1 1           | -                       | 1.04x                            |\n| Snow                 | **611 \u00b1 9**               | -                | -                 | 143 \u00b1 1           | -                       | 4.28x                            |\n| Solarize             | **11756 \u00b1 481**           | -                | 3843 \u00b1 80         | 263 \u00b1 6           | 1032 \u00b1 14               | 3.06x                            |\n| ThinPlateSpline      | **82 \u00b1 1**                | -                | -                 | 58 \u00b1 0            | -                       | 1.41x                            |\n| VerticalFlip         | **32386 \u00b1 936**           | 16830 \u00b1 1653     | 19935 \u00b1 1708      | 2872 \u00b1 37         | 4696 \u00b1 161              | 1.62x                            |\n\n## \ud83e\udd1d 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** \ud83d\ude4f 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## \ud83d\udcdc 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## \ud83d\udcde 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), and [LinkedIn](https://www.linkedin.com/company/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## \ud83d\udceb Stay Connected\n\nNever miss updates, tutorials, and tips from the AlbumentationsX team! [Subscribe to our newsletter](https://albumentations.ai/subscribe).\n\n<!-- GitAds-Verify: 99ZXCN5GQ9CQN3QEMO5H4RAOI8C5YTKV -->\n",
    "bugtrack_url": null,
    "license": "AlbumentationsX Dual License Notice\n        ===================================\n        \n        AlbumentationsX is available under two different licensing options:\n        \n        1. **AGPL-3.0 License** (this file) - For open source use\n           - Free for open-source projects\n           - Requires compliance with AGPL-3.0 terms\n           - See full license text below\n        \n        2. **Commercial License** - For proprietary/commercial use\n           - No source code disclosure requirements\n           - Full commercial support\n           - Available for purchase at https://albumentations.ai/pricing\n        \n        For licensing questions, contact us at https://albumentations.ai/contact\n        \n        The full AGPL-3.0 license text follows:\n        \n        ---\n        \n                            GNU AFFERO GENERAL PUBLIC LICENSE\n                               Version 3, 19 November 2007\n        \n         Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>\n         Everyone is permitted to copy and distribute verbatim copies\n         of this license document, but changing it is not allowed.\n        \n                                    Preamble\n        \n          The GNU Affero General Public License is a free, copyleft license for\n        software and other kinds of works, specifically designed to ensure\n        cooperation with the community in the case of network server software.\n        \n          The licenses for most software and other practical works are designed\n        to take away your freedom to share and change the works.  By contrast,\n        our General Public Licenses are intended to guarantee your freedom to\n        share and change all versions of a program--to make sure it remains free\n        software for all its users.\n        \n          When we speak of free software, we are referring to freedom, not\n        price.  Our General Public Licenses are designed to make sure that you\n        have the freedom to distribute copies of free software (and charge for\n        them if you wish), that you receive source code or can get it if you\n        want it, that you can change the software or use pieces of it in new\n        free programs, and that you know you can do these things.\n        \n          Developers that use our General Public Licenses protect your rights\n        with two steps: (1) assert copyright on the software, and (2) offer\n        you this License which gives you legal permission to copy, distribute\n        and/or modify the software.\n        \n          A secondary benefit of defending all users' freedom is that\n        improvements made in alternate versions of the program, if they\n        receive widespread use, become available for other developers to\n        incorporate.  Many developers of free software are heartened and\n        encouraged by the resulting cooperation.  However, in the case of\n        software used on network servers, this result may fail to come about.\n        The GNU General Public License permits making a modified version and\n        letting the public access it on a server without ever releasing its\n        source code to the public.\n        \n          The GNU Affero General Public License is designed specifically to\n        ensure that, in such cases, the modified source code becomes available\n        to the community.  It requires the operator of a network server to\n        provide the source code of the modified version running there to the\n        users of that server.  Therefore, public use of a modified version, on\n        a publicly accessible server, gives the public access to the source\n        code of the modified version.\n        \n          An older license, called the Affero General Public License and\n        published by Affero, was designed to accomplish similar goals.  This is\n        a different license, not a version of the Affero GPL, but Affero has\n        released a new version of the Affero GPL which permits relicensing under\n        this license.\n        \n          The precise terms and conditions for copying, distribution and\n        modification follow.\n        \n                               TERMS AND CONDITIONS\n        \n          0. Definitions.\n        \n          \"This License\" refers to version 3 of the GNU Affero General Public License.\n        \n          \"Copyright\" also means copyright-like laws that apply to other kinds of\n        works, such as semiconductor masks.\n        \n          \"The Program\" refers to any copyrightable work licensed under this\n        License.  Each licensee is addressed as \"you\".  \"Licensees\" and\n        \"recipients\" may be individuals or organizations.\n        \n          To \"modify\" a work means to copy from or adapt all or part of the work\n        in a fashion requiring copyright permission, other than the making of an\n        exact copy.  The resulting work is called a \"modified version\" of the\n        earlier work or a work \"based on\" the earlier work.\n        \n          A \"covered work\" means either the unmodified Program or a work based\n        on the Program.\n        \n          To \"propagate\" a work means to do anything with it that, without\n        permission, would make you directly or secondarily liable for\n        infringement under applicable copyright law, except executing it on a\n        computer or modifying a private copy.  Propagation includes copying,\n        distribution (with or without modification), making available to the\n        public, and in some countries other activities as well.\n        \n          To \"convey\" a work means any kind of propagation that enables other\n        parties to make or receive copies.  Mere interaction with a user through\n        a computer network, with no transfer of a copy, is not conveying.\n        \n          An interactive user interface displays \"Appropriate Legal Notices\"\n        to the extent that it includes a convenient and prominently visible\n        feature that (1) displays an appropriate copyright notice, and (2)\n        tells the user that there is no warranty for the work (except to the\n        extent that warranties are provided), that licensees may convey the\n        work under this License, and how to view a copy of this License.  If\n        the interface presents a list of user commands or options, such as a\n        menu, a prominent item in the list meets this criterion.\n        \n          1. Source Code.\n        \n          The \"source code\" for a work means the preferred form of the work\n        for making modifications to it.  \"Object code\" means any non-source\n        form of a work.\n        \n          A \"Standard Interface\" means an interface that either is an official\n        standard defined by a recognized standards body, or, in the case of\n        interfaces specified for a particular programming language, one that\n        is widely used among developers working in that language.\n        \n          The \"System Libraries\" of an executable work include anything, other\n        than the work as a whole, that (a) is included in the normal form of\n        packaging a Major Component, but which is not part of that Major\n        Component, and (b) serves only to enable use of the work with that\n        Major Component, or to implement a Standard Interface for which an\n        implementation is available to the public in source code form.  A\n        \"Major Component\", in this context, means a major essential component\n        (kernel, window system, and so on) of the specific operating system\n        (if any) on which the executable work runs, or a compiler used to\n        produce the work, or an object code interpreter used to run it.\n        \n          The \"Corresponding Source\" for a work in object code form means all\n        the source code needed to generate, install, and (for an executable\n        work) run the object code and to modify the work, including scripts to\n        control those activities.  However, it does not include the work's\n        System Libraries, or general-purpose tools or generally available free\n        programs which are used unmodified in performing those activities but\n        which are not part of the work.  For example, Corresponding Source\n        includes interface definition files associated with source files for\n        the work, and the source code for shared libraries and dynamically\n        linked subprograms that the work is specifically designed to require,\n        such as by intimate data communication or control flow between those\n        subprograms and other parts of the work.\n        \n          The Corresponding Source need not include anything that users\n        can regenerate automatically from other parts of the Corresponding\n        Source.\n        \n          The Corresponding Source for a work in source code form is that\n        same work.\n        \n          2. Basic Permissions.\n        \n          All rights granted under this License are granted for the term of\n        copyright on the Program, and are irrevocable provided the stated\n        conditions are met.  This License explicitly affirms your unlimited\n        permission to run the unmodified Program.  The output from running a\n        covered work is covered by this License only if the output, given its\n        content, constitutes a covered work.  This License acknowledges your\n        rights of fair use or other equivalent, as provided by copyright law.\n        \n          You may make, run and propagate covered works that you do not\n        convey, without conditions so long as your license otherwise remains\n        in force.  You may convey covered works to others for the sole purpose\n        of having them make modifications exclusively for you, or provide you\n        with facilities for running those works, provided that you comply with\n        the terms of this License in conveying all material for which you do\n        not control copyright.  Those thus making or running the covered works\n        for you must do so exclusively on your behalf, under your direction\n        and control, on terms that prohibit them from making any copies of\n        your copyrighted material outside their relationship with you.\n        \n          Conveying under any other circumstances is permitted solely under\n        the conditions stated below.  Sublicensing is not allowed; section 10\n        makes it unnecessary.\n        \n          3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n        \n          No covered work shall be deemed part of an effective technological\n        measure under any applicable law fulfilling obligations under article\n        11 of the WIPO copyright treaty adopted on 20 December 1996, or\n        similar laws prohibiting or restricting circumvention of such\n        measures.\n        \n          When you convey a covered work, you waive any legal power to forbid\n        circumvention of technological measures to the extent such circumvention\n        is effected by exercising rights under this License with respect to\n        the covered work, and you disclaim any intention to limit operation or\n        modification of the work as a means of enforcing, against the work's\n        users, your or third parties' legal rights to forbid circumvention of\n        technological measures.\n        \n          4. Conveying Verbatim Copies.\n        \n          You may convey verbatim copies of the Program's source code as you\n        receive it, in any medium, provided that you conspicuously and\n        appropriately publish on each copy an appropriate copyright notice;\n        keep intact all notices stating that this License and any\n        non-permissive terms added in accord with section 7 apply to the code;\n        keep intact all notices of the absence of any warranty; and give all\n        recipients a copy of this License along with the Program.\n        \n          You may charge any price or no price for each copy that you convey,\n        and you may offer support or warranty protection for a fee.\n        \n          5. Conveying Modified Source Versions.\n        \n          You may convey a work based on the Program, or the modifications to\n        produce it from the Program, in the form of source code under the\n        terms of section 4, provided that you also meet all of these conditions:\n        \n            a) The work must carry prominent notices stating that you modified\n            it, and giving a relevant date.\n        \n            b) The work must carry prominent notices stating that it is\n            released under this License and any conditions added under section\n            7.  This requirement modifies the requirement in section 4 to\n            \"keep intact all notices\".\n        \n            c) You must license the entire work, as a whole, under this\n            License to anyone who comes into possession of a copy.  This\n            License will therefore apply, along with any applicable section 7\n            additional terms, to the whole of the work, and all its parts,\n            regardless of how they are packaged.  This License gives no\n            permission to license the work in any other way, but it does not\n            invalidate such permission if you have separately received it.\n        \n            d) If the work has interactive user interfaces, each must display\n            Appropriate Legal Notices; however, if the Program has interactive\n            interfaces that do not display Appropriate Legal Notices, your\n            work need not make them do so.\n        \n          A compilation of a covered work with other separate and independent\n        works, which are not by their nature extensions of the covered work,\n        and which are not combined with it such as to form a larger program,\n        in or on a volume of a storage or distribution medium, is called an\n        \"aggregate\" if the compilation and its resulting copyright are not\n        used to limit the access or legal rights of the compilation's users\n        beyond what the individual works permit.  Inclusion of a covered work\n        in an aggregate does not cause this License to apply to the other\n        parts of the aggregate.\n        \n          6. Conveying Non-Source Forms.\n        \n          You may convey a covered work in object code form under the terms\n        of sections 4 and 5, provided that you also convey the\n        machine-readable Corresponding Source under the terms of this License,\n        in one of these ways:\n        \n            a) Convey the object code in, or embodied in, a physical product\n            (including a physical distribution medium), accompanied by the\n            Corresponding Source fixed on a durable physical medium\n            customarily used for software interchange.\n        \n            b) Convey the object code in, or embodied in, a physical product\n            (including a physical distribution medium), accompanied by a\n            written offer, valid for at least three years and valid for as\n            long as you offer spare parts or customer support for that product\n            model, to give anyone who possesses the object code either (1) a\n            copy of the Corresponding Source for all the software in the\n            product that is covered by this License, on a durable physical\n            medium customarily used for software interchange, for a price no\n            more than your reasonable cost of physically performing this\n            conveying of source, or (2) access to copy the\n            Corresponding Source from a network server at no charge.\n        \n            c) Convey individual copies of the object code with a copy of the\n            written offer to provide the Corresponding Source.  This\n            alternative is allowed only occasionally and noncommercially, and\n            only if you received the object code with such an offer, in accord\n            with subsection 6b.\n        \n            d) Convey the object code by offering access from a designated\n            place (gratis or for a charge), and offer equivalent access to the\n            Corresponding Source in the same way through the same place at no\n            further charge.  You need not require recipients to copy the\n            Corresponding Source along with the object code.  If the place to\n            copy the object code is a network server, the Corresponding Source\n            may be on a different server (operated by you or a third party)\n            that supports equivalent copying facilities, provided you maintain\n            clear directions next to the object code saying where to find the\n            Corresponding Source.  Regardless of what server hosts the\n            Corresponding Source, you remain obligated to ensure that it is\n            available for as long as needed to satisfy these requirements.\n        \n            e) Convey the object code using peer-to-peer transmission, provided\n            you inform other peers where the object code and Corresponding\n            Source of the work are being offered to the general public at no\n            charge under subsection 6d.\n        \n          A separable portion of the object code, whose source code is excluded\n        from the Corresponding Source as a System Library, need not be\n        included in conveying the object code work.\n        \n          A \"User Product\" is either (1) a \"consumer product\", which means any\n        tangible personal property which is normally used for personal, family,\n        or household purposes, or (2) anything designed or sold for incorporation\n        into a dwelling.  In determining whether a product is a consumer product,\n        doubtful cases shall be resolved in favor of coverage.  For a particular\n        product received by a particular user, \"normally used\" refers to a\n        typical or common use of that class of product, regardless of the status\n        of the particular user or of the way in which the particular user\n        actually uses, or expects or is expected to use, the product.  A product\n        is a consumer product regardless of whether the product has substantial\n        commercial, industrial or non-consumer uses, unless such uses represent\n        the only significant mode of use of the product.\n        \n          \"Installation Information\" for a User Product means any methods,\n        procedures, authorization keys, or other information required to install\n        and execute modified versions of a covered work in that User Product from\n        a modified version of its Corresponding Source.  The information must\n        suffice to ensure that the continued functioning of the modified object\n        code is in no case prevented or interfered with solely because\n        modification has been made.\n        \n          If you convey an object code work under this section in, or with, or\n        specifically for use in, a User Product, and the conveying occurs as\n        part of a transaction in which the right of possession and use of the\n        User Product is transferred to the recipient in perpetuity or for a\n        fixed term (regardless of how the transaction is characterized), the\n        Corresponding Source conveyed under this section must be accompanied\n        by the Installation Information.  But this requirement does not apply\n        if neither you nor any third party retains the ability to install\n        modified object code on the User Product (for example, the work has\n        been installed in ROM).\n        \n          The requirement to provide Installation Information does not include a\n        requirement to continue to provide support service, warranty, or updates\n        for a work that has been modified or installed by the recipient, or for\n        the User Product in which it has been modified or installed.  Access to a\n        network may be denied when the modification itself materially and\n        adversely affects the operation of the network or violates the rules and\n        protocols for communication across the network.\n        \n          Corresponding Source conveyed, and Installation Information provided,\n        in accord with this section must be in a format that is publicly\n        documented (and with an implementation available to the public in\n        source code form), and must require no special password or key for\n        unpacking, reading or copying.\n        \n          7. Additional Terms.\n        \n          \"Additional permissions\" are terms that supplement the terms of this\n        License by making exceptions from one or more of its conditions.\n        Additional permissions that are applicable to the entire Program shall\n        be treated as though they were included in this License, to the extent\n        that they are valid under applicable law.  If additional permissions\n        apply only to part of the Program, that part may be used separately\n        under those permissions, but the entire Program remains governed by\n        this License without regard to the additional permissions.\n        \n          When you convey a copy of a covered work, you may at your option\n        remove any additional permissions from that copy, or from any part of\n        it.  (Additional permissions may be written to require their own\n        removal in certain cases when you modify the work.)  You may place\n        additional permissions on material, added by you to a covered work,\n        for which you have or can give appropriate copyright permission.\n        \n          Notwithstanding any other provision of this License, for material you\n        add to a covered work, you may (if authorized by the copyright holders of\n        that material) supplement the terms of this License with terms:\n        \n            a) Disclaiming warranty or limiting liability differently from the\n            terms of sections 15 and 16 of this License; or\n        \n            b) Requiring preservation of specified reasonable legal notices or\n            author attributions in that material or in the Appropriate Legal\n            Notices displayed by works containing it; or\n        \n            c) Prohibiting misrepresentation of the origin of that material, or\n            requiring that modified versions of such material be marked in\n            reasonable ways as different from the original version; or\n        \n            d) Limiting the use for publicity purposes of names of licensors or\n            authors of the material; or\n        \n            e) Declining to grant rights under trademark law for use of some\n            trade names, trademarks, or service marks; or\n        \n            f) Requiring indemnification of licensors and authors of that\n            material by anyone who conveys the material (or modified versions of\n            it) with contractual assumptions of liability to the recipient, for\n            any liability that these contractual assumptions directly impose on\n            those licensors and authors.\n        \n          All other non-permissive additional terms are considered \"further\n        restrictions\" within the meaning of section 10.  If the Program as you\n        received it, or any part of it, contains a notice stating that it is\n        governed by this License along with a term that is a further\n        restriction, you may remove that term.  If a license document contains\n        a further restriction but permits relicensing or conveying under this\n        License, you may add to a covered work material governed by the terms\n        of that license document, provided that the further restriction does\n        not survive such relicensing or conveying.\n        \n          If you add terms to a covered work in accord with this section, you\n        must place, in the relevant source files, a statement of the\n        additional terms that apply to those files, or a notice indicating\n        where to find the applicable terms.\n        \n          Additional terms, permissive or non-permissive, may be stated in the\n        form of a separately written license, or stated as exceptions;\n        the above requirements apply either way.\n        \n          8. Termination.\n        \n          You may not propagate or modify a covered work except as expressly\n        provided under this License.  Any attempt otherwise to propagate or\n        modify it is void, and will automatically terminate your rights under\n        this License (including any patent licenses granted under the third\n        paragraph of section 11).\n        \n          However, if you cease all violation of this License, then your\n        license from a particular copyright holder is reinstated (a)\n        provisionally, unless and until the copyright holder explicitly and\n        finally terminates your license, and (b) permanently, if the copyright\n        holder fails to notify you of the violation by some reasonable means\n        prior to 60 days after the cessation.\n        \n          Moreover, your license from a particular copyright holder is\n        reinstated permanently if the copyright holder notifies you of the\n        violation by some reasonable means, this is the first time you have\n        received notice of violation of this License (for any work) from that\n        copyright holder, and you cure the violation prior to 30 days after\n        your receipt of the notice.\n        \n          Termination of your rights under this section does not terminate the\n        licenses of parties who have received copies or rights from you under\n        this License.  If your rights have been terminated and not permanently\n        reinstated, you do not qualify to receive new licenses for the same\n        material under section 10.\n        \n          9. Acceptance Not Required for Having Copies.\n        \n          You are not required to accept this License in order to receive or\n        run a copy of the Program.  Ancillary propagation of a covered work\n        occurring solely as a consequence of using peer-to-peer transmission\n        to receive a copy likewise does not require acceptance.  However,\n        nothing other than this License grants you permission to propagate or\n        modify any covered work.  These actions infringe copyright if you do\n        not accept this License.  Therefore, by modifying or propagating a\n        covered work, you indicate your acceptance of this License to do so.\n        \n          10. Automatic Licensing of Downstream Recipients.\n        \n          Each time you convey a covered work, the recipient automatically\n        receives a license from the original licensors, to run, modify and\n        propagate that work, subject to this License.  You are not responsible\n        for enforcing compliance by third parties with this License.\n        \n          An \"entity transaction\" is a transaction transferring control of an\n        organization, or substantially all assets of one, or subdividing an\n        organization, or merging organizations.  If propagation of a covered\n        work results from an entity transaction, each party to that\n        transaction who receives a copy of the work also receives whatever\n        licenses to the work the party's predecessor in interest had or could\n        give under the previous paragraph, plus a right to possession of the\n        Corresponding Source of the work from the predecessor in interest, if\n        the predecessor has it or can get it with reasonable efforts.\n        \n          You may not impose any further restrictions on the exercise of the\n        rights granted or affirmed under this License.  For example, you may\n        not impose a license fee, royalty, or other charge for exercise of\n        rights granted under this License, and you may not initiate litigation\n        (including a cross-claim or counterclaim in a lawsuit) alleging that\n        any patent claim is infringed by making, using, selling, offering for\n        sale, or importing the Program or any portion of it.\n        \n          11. Patents.\n        \n          A \"contributor\" is a copyright holder who authorizes use under this\n        License of the Program or a work on which the Program is based.  The\n        work thus licensed is called the contributor's \"contributor version\".\n        \n          A contributor's \"essential patent claims\" are all patent claims\n        owned or controlled by the contributor, whether already acquired or\n        hereafter acquired, that would be infringed by some manner, permitted\n        by this License, of making, using, or selling its contributor version,\n        but do not include claims that would be infringed only as a\n        consequence of further modification of the contributor version.  For\n        purposes of this definition, \"control\" includes the right to grant\n        patent sublicenses in a manner consistent with the requirements of\n        this License.\n        \n          Each contributor grants you a non-exclusive, worldwide, royalty-free\n        patent license under the contributor's essential patent claims, to\n        make, use, sell, offer for sale, import and otherwise run, modify and\n        propagate the contents of its contributor version.\n        \n          In the following three paragraphs, a \"patent license\" is any express\n        agreement or commitment, however denominated, not to enforce a patent\n        (such as an express permission to practice a patent or covenant not to\n        sue for patent infringement).  To \"grant\" such a patent license to a\n        party means to make such an agreement or commitment not to enforce a\n        patent against the party.\n        \n          If you convey a covered work, knowingly relying on a patent license,\n        and the Corresponding Source of the work is not available for anyone\n        to copy, free of charge and under the terms of this License, through a\n        publicly available network server or other readily accessible means,\n        then you must either (1) cause the Corresponding Source to be so\n        available, or (2) arrange to deprive yourself of the benefit of the\n        patent license for this particular work, or (3) arrange, in a manner\n        consistent with the requirements of this License, to extend the patent\n        license to downstream recipients.  \"Knowingly relying\" means you have\n        actual knowledge that, but for the patent license, your conveying the\n        covered work in a country, or your recipient's use of the covered work\n        in a country, would infringe one or more identifiable patents in that\n        country that you have reason to believe are valid.\n        \n          If, pursuant to or in connection with a single transaction or\n        arrangement, you convey, or propagate by procuring conveyance of, a\n        covered work, and grant a patent license to some of the parties\n        receiving the covered work authorizing them to use, propagate, modify\n        or convey a specific copy of the covered work, then the patent license\n        you grant is automatically extended to all recipients of the covered\n        work and works based on it.\n        \n          A patent license is \"discriminatory\" if it does not include within\n        the scope of its coverage, prohibits the exercise of, or is\n        conditioned on the non-exercise of one or more of the rights that are\n        specifically granted under this License.  You may not convey a covered\n        work if you are a party to an arrangement with a third party that is\n        in the business of distributing software, under which you make payment\n        to the third party based on the extent of your activity of conveying\n        the work, and under which the third party grants, to any of the\n        parties who would receive the covered work from you, a discriminatory\n        patent license (a) in connection with copies of the covered work\n        conveyed by you (or copies made from those copies), or (b) primarily\n        for and in connection with specific products or compilations that\n        contain the covered work, unless you entered into that arrangement,\n        or that patent license was granted, prior to 28 March 2007.\n        \n          Nothing in this License shall be construed as excluding or limiting\n        any implied license or other defenses to infringement that may\n        otherwise be available to you under applicable patent law.\n        \n          12. No Surrender of Others' Freedom.\n        \n          If conditions are imposed on you (whether by court order, agreement or\n        otherwise) that contradict the conditions of this License, they do not\n        excuse you from the conditions of this License.  If you cannot convey a\n        covered work so as to satisfy simultaneously your obligations under this\n        License and any other pertinent obligations, then as a consequence you may\n        not convey it at all.  For example, if you agree to terms that obligate you\n        to collect a royalty for further conveying from those to whom you convey\n        the Program, the only way you could satisfy both those terms and this\n        License would be to refrain entirely from conveying the Program.\n        \n          13. Remote Network Interaction; Use with the GNU General Public License.\n        \n          Notwithstanding any other provision of this License, if you modify the\n        Program, your modified version must prominently offer all users\n        interacting with it remotely through a computer network (if your version\n        supports such interaction) an opportunity to receive the Corresponding\n        Source of your version by providing access to the Corresponding Source\n        from a network server at no charge, through some standard or customary\n        means of facilitating copying of software.  This Corresponding Source\n        shall include the Corresponding Source for any work covered by version 3\n        of the GNU General Public License that is incorporated pursuant to the\n        following paragraph.\n        \n          Notwithstanding any other provision of this License, you have\n        permission to link or combine any covered work with a work licensed\n        under version 3 of the GNU General Public License into a single\n        combined work, and to convey the resulting work.  The terms of this\n        License will continue to apply to the part which is the covered work,\n        but the work with which it is combined will remain governed by version\n        3 of the GNU General Public License.\n        \n          14. Revised Versions of this License.\n        \n          The Free Software Foundation may publish revised and/or new versions of\n        the GNU Affero General Public License from time to time.  Such new versions\n        will be similar in spirit to the present version, but may differ in detail to\n        address new problems or concerns.\n        \n          Each version is given a distinguishing version number.  If the\n        Program specifies that a certain numbered version of the GNU Affero General\n        Public License \"or any later version\" applies to it, you have the\n        option of following the terms and conditions either of that numbered\n        version or of any later version published by the Free Software\n        Foundation.  If the Program does not specify a version number of the\n        GNU Affero General Public License, you may choose any version ever published\n        by the Free Software Foundation.\n        \n          If the Program specifies that a proxy can decide which future\n        versions of the GNU Affero General Public License can be used, that proxy's\n        public statement of acceptance of a version permanently authorizes you\n        to choose that version for the Program.\n        \n          Later license versions may give you additional or different\n        permissions.  However, no additional obligations are imposed on any\n        author or copyright holder as a result of your choosing to follow a\n        later version.\n        \n          15. Disclaimer of Warranty.\n        \n          THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\n        APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\n        HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\n        OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\n        THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n        PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\n        IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\n        ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n        \n          16. Limitation of Liability.\n        \n          IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\n        WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\n        THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\n        GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\n        USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\n        DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\n        PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\n        EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\n        SUCH DAMAGES.\n        \n          17. Interpretation of Sections 15 and 16.\n        \n          If the disclaimer of warranty and limitation of liability provided\n        above cannot be given local legal effect according to their terms,\n        reviewing courts shall apply local law that most closely approximates\n        an absolute waiver of all civil liability in connection with the\n        Program, unless a warranty or assumption of liability accompanies a\n        copy of the Program in return for a fee.\n        \n                             END OF TERMS AND CONDITIONS\n        \n                    How to Apply These Terms to Your New Programs\n        \n          If you develop a new program, and you want it to be of the greatest\n        possible use to the public, the best way to achieve this is to make it\n        free software which everyone can redistribute and change under these terms.\n        \n          To do so, attach the following notices to the program.  It is safest\n        to attach them to the start of each source file to most effectively\n        state the exclusion of warranty; and each file should have at least\n        the \"copyright\" line and a pointer to where the full notice is found.\n        \n            <one line to give the program's name and a brief idea of what it does.>\n            Copyright (C) <year>  <name of author>\n        \n            This program is free software: you can redistribute it and/or modify\n            it under the terms of the GNU Affero General Public License as published by\n            the Free Software Foundation, either version 3 of the License, or\n            (at your option) any later version.\n        \n            This program is distributed in the hope that it will be useful,\n            but WITHOUT ANY WARRANTY; without even the implied warranty of\n            MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n            GNU Affero General Public License for more details.\n        \n            You should have received a copy of the GNU Affero General Public License\n            along with this program.  If not, see <https://www.gnu.org/licenses/>.\n        \n        Also add information on how to contact you by electronic and paper mail.\n        \n          If your software can interact with users remotely through a computer\n        network, you should also make sure that it provides a way for users to\n        get its source.  For example, if your program is a web application, its\n        interface could display a \"Source\" link that leads users to an archive\n        of the code.  There are many ways you could offer source, and different\n        solutions will be better for different programs; see section 13 for the\n        specific requirements.\n        \n          You should also get your employer (if you work as a programmer) or school,\n        if any, to sign a \"copyright disclaimer\" for the program, if necessary.\n        For more information on this, and how to apply and follow the GNU AGPL, see\n        <https://www.gnu.org/licenses/>.\n        ",
    "summary": "Fast, flexible, and advanced augmentation library for deep learning, computer vision, and medical imaging. Albumentations offers a wide range of transformations for both 2D (images, masks, bboxes, keypoints) and 3D (volumes, volumetric masks, keypoints) data, with optimized performance and seamless integration into ML workflows.",
    "version": "2.0.12",
    "project_urls": {
        "Homepage": "https://albumentations.ai"
    },
    "split_keywords": [
        "2d augmentation",
        " 3d augmentation",
        " aerial photography",
        " anomaly detection",
        " artificial intelligence",
        " autonomous driving",
        " bounding boxes",
        " classification",
        " computer vision",
        " computer vision library",
        " data augmentation",
        " data preprocessing",
        " data science",
        " deep learning",
        " deep learning library",
        " depth estimation",
        " face recognition",
        " fast augmentation",
        " image augmentation",
        " image processing",
        " image transformation",
        " images",
        " instance segmentation",
        " keras",
        " keypoint detection",
        " keypoints",
        " machine learning",
        " machine learning tools",
        " masks",
        " medical imaging",
        " microscopy",
        " object counting",
        " object detection",
        " optimized performance",
        " panoptic segmentation",
        " pose estimation",
        " python library",
        " pytorch",
        " quality inspection",
        " real-time processing",
        " robotics vision",
        " satellite imagery",
        " semantic segmentation",
        " tensorflow",
        " volumes",
        " volumetric data",
        " volumetric masks"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "3dfda817121a2c4ab78fb46eb681974d2704ac259c7210aadd03f7dc285f03a4",
                "md5": "e7c78a5416d62b2b07def5cd3b963cdc",
                "sha256": "67a19537e99c80d8e0ae30524b1fba0d77a7b4af662f82d1af667bb86e5224ae"
            },
            "downloads": -1,
            "filename": "albumentationsx-2.0.12-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e7c78a5416d62b2b07def5cd3b963cdc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 418528,
            "upload_time": "2025-10-08T12:50:54",
            "upload_time_iso_8601": "2025-10-08T12:50:54.266652Z",
            "url": "https://files.pythonhosted.org/packages/3d/fd/a817121a2c4ab78fb46eb681974d2704ac259c7210aadd03f7dc285f03a4/albumentationsx-2.0.12-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "9575cde57e66ad0c249b8c872732f33bac4b05b7bd1b7a8c5921a96986e81f13",
                "md5": "c578c38b424f1a4f360b025a1c97fb1a",
                "sha256": "49fd833c1cdf3a3d4d11e63bf7bf31590b1562f8c255e8d2a2799297ac26a8f0"
            },
            "downloads": -1,
            "filename": "albumentationsx-2.0.12.tar.gz",
            "has_sig": false,
            "md5_digest": "c578c38b424f1a4f360b025a1c97fb1a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 410522,
            "upload_time": "2025-10-08T12:50:55",
            "upload_time_iso_8601": "2025-10-08T12:50:55.712914Z",
            "url": "https://files.pythonhosted.org/packages/95/75/cde57e66ad0c249b8c872732f33bac4b05b7bd1b7a8c5921a96986e81f13/albumentationsx-2.0.12.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-10-08 12:50:55",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "albumentationsx"
}
        
Elapsed time: 0.97697s