sparkfish / augraphy

Augmentation pipeline for rendering synthetic paper printing, faxing, scanning and copy machine processes
https://github.com/sparkfish/augraphy
MIT License
316 stars 42 forks source link

ColorPaper cant generate different color in the cycle running #427

Open kukugpt opened 3 months ago

kwcckw commented 3 months ago

Thanks, i added a patch to resolve that and you may reinstall the repo using:

!pip install git+https://github.com/sparkfish/augraphy

To enable a random color augmentation, you can use ColorPaper(hue_range=(0, 255), saturation_range=(0,255)).

Some examples on random color augmented images using a same parameters above: image

kukugpt commented 3 months ago

thanks