A library for doing image augmentation
Project description
Augmentum
A library for doing image augmentation
Overview:
Image data augmentation is the process of generating new transformed versions of images from the given image dataset to artificially expand the dataset. Augmentum is a library for doing image data augmentation given some images. The main purpose for this library is to apply many data augmentations and allow this via a simple interface without relying on special libraries like opencv, matplotlib, pillow etc.
Development and Contributions:
For development details and contribution instructions, please refer to the contribution guidelines.
Installation:
First, install Python 3.7 (or later) and numpy, and then install this repo as a Python package.
$ pip install numpy
$ pip install Augmentum
Quick Start Example:
Users can get more images by passing their pre-existing images using image augmentation techniques.
import Augmentum
#replace image by the actual grayscale image values
image = [[1, 1, 1], [1, 0, 0], [1, 0, 0]]
#or instead upload a .raw image file under '.../Augmentum/Augmentum/data/'and
#call process_image() to get a list of lists representations of your grayscale image however
#you have to specify the number of ROWS and COLS in your image (default value is 512x512)
image = Augmentum.process_image(ROWS=512, COLS=512)
new_images = Augmentum.augment_image(image)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file Augmentum-0.1.2.tar.gz.
File metadata
- Download URL: Augmentum-0.1.2.tar.gz
- Upload date:
- Size: 15.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
643e1ab0c47e77129d115a1235093203b0e738eab7537add30ad19587a7adaec
|
|
| MD5 |
e5c5c59c69670f638a7dabd485e84550
|
|
| BLAKE2b-256 |
1f6a6cf734ba7222eb64729dfe3771549e4a3a78d42b0abd683d25a4d2d15f4a
|