Skip to main content

Fast, flexible, and advanced augmentation library for deep learning, computer vision, and medical imaging. Algorave 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.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

algorave-2.1.1.tar.gz (336.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

algorave-2.1.1-py3-none-any.whl (365.9 kB view details)

Uploaded Python 3

File details

Details for the file algorave-2.1.1.tar.gz.

File metadata

  • Download URL: algorave-2.1.1.tar.gz
  • Upload date:
  • Size: 336.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.13

File hashes

Hashes for algorave-2.1.1.tar.gz
Algorithm Hash digest
SHA256 649f224cf362374c09f6f2f445794fc2be11cbfb5c29bb4c6cc7d2b85223ea24
MD5 ccf6ed5f58bc544bd5381ef46ce41355
BLAKE2b-256 c0f0cb3e98d71d442406c67cc1049051ab80f5226e63d79343223f3d23cd897b

See more details on using hashes here.

File details

Details for the file algorave-2.1.1-py3-none-any.whl.

File metadata

  • Download URL: algorave-2.1.1-py3-none-any.whl
  • Upload date:
  • Size: 365.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.13

File hashes

Hashes for algorave-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fefad51d092e9813801856204669cc94c362c6b488d8e6b2106a9db6feda3f47
MD5 37733ff26b30748115366567e06e1c37
BLAKE2b-256 17fa0a5445ae9ebdaced6f8d35589e65b6394b04d5dfd67875b80a6ae88d864b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page