Algorave
A fast and flexible image augmentation library for deep learning, computer vision, and machine learning workflows.
Algorave is a fork of the Albumentations library, providing powerful image transformation capabilities with a focus on performance and ease of use.
Installation
pip install algorave
For development installation:
git clone https://github.com/your-username/algorave.git
cd algorave
pip install -e .
Features
- Fast and efficient: Optimized for performance with NumPy and OpenCV backends
- Flexible: Supports a wide range of image augmentations for various computer vision tasks
- Easy to use: Simple, intuitive API that integrates seamlessly with popular deep learning frameworks
- Extensible: Easy to add custom augmentations
- Battle-tested: Based on the proven Albumentations library used in numerous production systems
Quick Start
import algorave as A
import cv2
# Define 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
image = cv2.imread("image.jpg")
image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
# Apply augmentations
transformed = transform(image=image)
transformed_image = transformed["image"]
Supported Data Types
Algorave supports augmentation of:
- Images
- Masks
- Bounding boxes
- Keypoints
Requirements
- Python >= 3.9
- NumPy
- OpenCV
- PyYAML
- scikit-image (optional)
Contributing
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
Algorave is based on Albumentations, originally created by the Albumentations team. This fork was created from commit 66212d7.
Special thanks to the original Albumentations authors:
- Vladimir Iglovikov
- Alexander Buslaev
- Alex Parinov
- Eugene Khvedchenya
- Mikhail Druzhinin
Metadata
Release files for algorave 2.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| algorave-2.1.1.tar.gz | 336.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| algorave-2.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 702.2 kB
Release files / algorave-2.1.1.tar.gz
| Download URL | algorave-2.1.1.tar.gz |
|---|---|
| Size | 336.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
649f224cf362374c09f6f2f445794fc2be11cbfb5c29bb4c6cc7d2b85223ea24
|
|
BLAKE2b-256 checksum How to use checksums |
c0f0cb3e98d71d442406c67cc1049051ab80f5226e63d79343223f3d23cd897b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.13
|
Release files / algorave-2.1.1-py3-none-any.whl
| Download URL | algorave-2.1.1-py3-none-any.whl |
|---|---|
| Size | 365.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fefad51d092e9813801856204669cc94c362c6b488d8e6b2106a9db6feda3f47
|
|
BLAKE2b-256 checksum How to use checksums |
17fa0a5445ae9ebdaced6f8d35589e65b6394b04d5dfd67875b80a6ae88d864b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.13
|