Please checkout the original repository for the amazing work by aleju and more detailed introduction.
(https://github.com/aleju/imgaug)
Two more types of augmentation are added in the repository, Spot and Flare.
The two paraters of sigma indicates the uppper and lower boundaries of the radius of the spots.
This is just one way of importing, don't have to follow the exact steps.
Suppose you have a project called YourProject in need for data augmentation.
- Clone this repository into YourProject
- Write yourself a test script, e.g. test.py, under the directory
Your directory should be like this:
YourProject
--imgaug
--test.py - In test.py, write:
from imgaug.imgaug import augmenters as iaa