skillfed

albucore

High-performance image processing functions for deep learning and computer vision.

albucore v0.2.13 3.9M downloads/30d#2,450 on PyPI
Permissive license MIT Active released

What it is and what it does

Albucore is a library of optimized image processing functions designed as the foundation for AlbumentationsX, an image augmentation library. It implements arithmetic operations (multiply, add, power, add_weighted, multiply_add), elementwise math (exp, log, sqrt), and normalization functions that work on images in channel-last format with explicit channel dimensions. The core feature is automatic backend routing: each operation benchmarks across NumPy, OpenCV, NumKong, StringZilla, and eligible PyTorch implementations and selects the fastest path for the given input dtype, size, layout, and channel count.

Most functions support uint8 and float32 dtypes; elementwise operations (exp, log, sqrt) are float32-only. Images must follow strict shape conventions: single images as (H, W, C), batches as (N, H, W, C), and 3D volumes as (D, H, W, C), with channel dimension always required even for grayscale. The library depends on numpy, numkong, and stringzilla at runtime, and requires Python 3.10+. Full functionality also requires a pre-installed PyTorch build (CPU, CUDA, or MPS selected separately) and OpenCV.

Use it for:

  • Accelerate image augmentation pipelines in deep learning workflows by routing arithmetic and normalization operations to the fastest available backend.
  • Preprocess uint8 or float32 images for computer vision models with automatic dtype-aware optimization.
  • Normalize image batches using precomputed statistics (e.g., ImageNet mean/std) via lookup tables for uint8 or fused NumPy operations for float32.
  • Apply elementwise transformations (exponential, logarithm, square root) to large float32 image arrays with automatic selection between NumPy and OpenCV.
  • Build custom image processing pipelines that adapt to input characteristics without manual backend selection.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Albucore provides optimized atomic image processing functions that automatically select the fastest implementation (NumPy, OpenCV, NumKong, StringZilla, or PyTorch) based on input characteristics for efficient uint8 and float32 image manipulation.

Yes, with conditions. Albucore is actively maintained, has no known vulnerabilities, and offers genuine performance value through automatic backend routing for image operations. Install it if you are building image augmentation or preprocessing pipelines and want to avoid manual optimization. The main friction is the mandatory separate PyTorch installation and the requirement for Python 3.10+; ensure your environment meets these prerequisites before installing.

Install

albucore on PyPI

pip

pip install albucore

uv

uv add albucore

poetry

poetry add albucore

Installing albucore

Before you install

Low friction: pure Python wheel with three runtime dependencies (numpy, numkong, stringzilla). Actively maintained with a release 1 day old. Requires Python 3.10+ and a separate PyTorch installation; the package itself installs cleanly but full functionality depends on pre-installing a platform-specific PyTorch build.

License in practice

MIT license (permissive): you can use, modify, and distribute Albucore freely in commercial and private projects with minimal restrictions, provided you include the license notice.

Quickstart

pip install albucore numpy

import numpy as np
import albucore

image = np.random.randint(0, 256, (100, 100, 3), dtype=np.uint8)
result = albucore.multiply(image, 1.5)

Requires Python 3.10+. Full functionality requires a separate PyTorch installation (CPU, CUDA, or MPS) before installing Albucore; base install works but current public API requires both OpenCV and PyTorch.

Verify before relying

  • Performance improvement magnitude and conditions under which each backend (NumPy, OpenCV, NumKong, StringZilla, PyTorch) is selected
  • Whether all documented functions in the description excerpt are fully implemented and stable in version 0.2.13
  • Compatibility and performance characteristics with different PyTorch versions and CUDA/MPS configurations

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 3 — numkong, numpy, stringzilla
Maintenance actively maintained — 1 days since the last release
First released
Downloads 3,930,017/month — #2,450 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: albucore-0.2.13-py3-none-any.whl

Keywords: deep learning, image processing

Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/Engineering :: Artificial IntelligenceTopic :: Scientific/Engineering :: Image ProcessingTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Tags

optimized image processing functionsfast image arithmetic operationsautomatic backend routing for imagesnumpy opencv image accelerationdeep learning image preprocessing
image-processingperformance-optimizationdeep-learning

More Libraries packages