Skip to main content

A high-performance image processing library designed to optimize and extend the Albumentations library with specialized functions for advanced image transformations. Perfect for developers working in computer vision who require efficient and scalable image augmentation.

Project description

Albucore

Albucore is a high-performance image processing library designed to optimize operations on images using Python and OpenCV, building upon the foundations laid by the popular Albumentations library. It offers specialized optimizations for different image data types and aims to provide faster processing times through efficient algorithm implementations.

Features

  • Optimized image multiplication operations for both uint8 and float32 data types.
  • Support for single-channel and multi-channel images.
  • Custom decorators to manage channel dimensions and output constraints.

Installation

Install Albucore using pip:

pip install -U albucore

Example

Here's how you can use Albucore to multiply an image by a constant or a vector:

import cv2
import numpy as np
from albucore import multiply

# Load an image
img = cv2.imread('path_to_your_image.jpg')

# Multiply by a constant
multiplied_image = multiply(img, 1.5)

# Multiply by a vector
multiplier = [1.5, 1.2, 0.9]  # Different multiplier for each channel
multiplied_image = multiply(img, multiplier)

Benchmarks

For detailed benchmark results, including other configurations and data types, refer to the Benchmark in the repository.

License

Distributed under the MIT License. See LICENSE for more information.

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

albucore-0.0.7.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

albucore-0.0.7-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file albucore-0.0.7.tar.gz.

File metadata

  • Download URL: albucore-0.0.7.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.19

File hashes

Hashes for albucore-0.0.7.tar.gz
Algorithm Hash digest
SHA256 0fe9660956644b9ca021e9185827d0173cc9159bad2b5774d098ca5d476cd7b0
MD5 12a3173f141fa4f2ab0c1c74c7bdaac7
BLAKE2b-256 0ddb9b5dae2fb2d827fb4cc5ff5c99f375f9e5c3b09b6d8dd0259a00ca6d08de

See more details on using hashes here.

File details

Details for the file albucore-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: albucore-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.19

File hashes

Hashes for albucore-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 b795d1b8153fd18edb4f4dfe8e5fac0a19af2d0a2f71e965ea7731ec1b6c7f2a
MD5 48dc1b38d3339602d71309edcec65c86
BLAKE2b-256 3173bf14b25f3ea08cac8168d1da58cd04557eea3876975e4f656d91b905ea76

See more details on using hashes here.

Supported by

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