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.11.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

albucore-0.0.11-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: albucore-0.0.11.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.8.18

File hashes

Hashes for albucore-0.0.11.tar.gz
Algorithm Hash digest
SHA256 242669f130944bef6646b4e7bb9daaf329d30dc7a65f175e041787a31eea42b8
MD5 34c41223b02de265eb45ee604b354794
BLAKE2b-256 3ce6075ba642c4358d71a0d766a420c9601099780f27ed4011ed40720304db8d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: albucore-0.0.11-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.8.18

File hashes

Hashes for albucore-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 531faabd5c7fea8642fb6f19f23915b4392f823af3a23c6b9f57d0aa079d4fcf
MD5 2e8d0600a6f6d478d2e560fb7e04b6f9
BLAKE2b-256 c4f483dbbba4c1e186043e26154c25cb02b8dd4a65aa72adfb9e1dae5e23d4eb

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