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.1.tar.gz
(2.3 MB
view details)
File details
Details for the file cuimgops-0.1.1.tar.gz.
File metadata
- Download URL: cuimgops-0.1.1.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 |
b6ef25b0185964de37a8629c9a56a6622574cc3ca796cbd6bf43089a98d42935
|
|
| MD5 |
8dd0cd5d700f39e4e437ed30a83b44d4
|
|
| BLAKE2b-256 |
e365e307711d7752bb54946fa1e6a5316e364b7916edba75b9e3751e698987e7
|