Install

How to install

pip install https://github.com/adobe-research/beacon-aug

How to develop

conda create -y -n aug python=3.7
conda activate aug

git clone git@github.com:adobe-research/beacon-aug.git
cd beacon-aug
python setup.py develop

import beacon_aug will now directly link to the package in the cloned directory, easing development.

How to use

import beacon_aug as BA
aug = BA.HorizontalFlip(p=1,  library="albumentations")
image_auged = aug(image=image)["image"]

Check tutorials for more examples:

_images/compare_vis.png _images/Brightnessaug_library-screenshot.png