sparkfish / augraphy

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

Updates in Pattern Distortion Pipeline #276

Closed ss756 closed 1 year ago

ss756 commented 1 year ago

resolves #242

This PR contains updates for Pattern Distortion pipeline, such that it can handle gray-scale images as well. The parameters of each function is randomized in call() instead of init() function, so that it has different values in each run. Made changes to the docs.