CUDA accelerated image processing operations with Python bindings.
Project description
cuimgops
CUDA-accelerated image augmentation operations for Python.
Features
- Horizontal flip
- Vertical flip
- Gaussian noise
- Edge detection
- Blur (smoothing)
- Sharpening
Installation
pip install cuimgops
Requirements
- CUDA-capable GPU
- CUDA Toolkit
- Python >= 3.8
- numpy
- pillow
Usage
from cuimgops import (
get_horizontal_flip,
get_vertical_flip,
get_gaussian_noise,
get_edge_detection,
get_blur,
get_sharpening
)
from PIL import Image
img = Image.open("image.jpg")
flipped = get_horizontal_flip(img)
noisy = get_gaussian_noise(img, mean=0.0, stddev=15.0)
edges = get_edge_detection(img)
blurred = get_blur(img)
sharpened = get_sharpening(img)
Author
sashank nimmagadda
License
MIT
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
cuimgops-0.1.2.tar.gz
(2.3 MB
view details)
File details
Details for the file cuimgops-0.1.2.tar.gz.
File metadata
- Download URL: cuimgops-0.1.2.tar.gz
- Upload date:
- Size: 2.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0f9c968c64562b5c6b538f1af089105313d5783ee9f0029df8abd7d677243e2
|
|
| MD5 |
bc446f73d3eb384701788845833db755
|
|
| BLAKE2b-256 |
aba55f394073b72cc2c75135e23baa9f6fa9ffdb4192b306ac8ffc506b5fe585
|