bethgelab / imagecorruptions

Python package to corrupt arbitrary images.
https://pypi.org/project/imagecorruptions/
Apache License 2.0
409 stars 64 forks source link

add corruption category option to get_corruption_names #16

Closed normster closed 3 years ago

normster commented 3 years ago

Hi,

I added the corruption category flags to the get_corruption_names function to make it easier to specify a subset of the corruptions. The corruption categories are taken from Dan's original groupings:

image

Best Norman

Hvitgar commented 3 years ago

Hey Norman, thanks for your PR - great idea to include the categories as a selector in that function, thanks for your work!