CUDA accelerated image augmentations
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.0.tar.gz
(2.3 MB
view details)
File details
Details for the file cuimgops-0.1.0.tar.gz.
File metadata
- Download URL: cuimgops-0.1.0.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 |
a97e8909496bb7f90885ced455a98b4e949a5654a09e73966b8f9641d34c3c17
|
|
| MD5 |
f330c7244896be505e055c7e9638b523
|
|
| BLAKE2b-256 |
0db5f3c3ead90a3a0bb7282aafb0af00cb436499f6bd28a45c5813049028e61a
|