Skip to content

Instantly share code, notes, and snippets.

@ashen007
Created March 7, 2022 03:10
Show Gist options
  • Save ashen007/1934327403f210638886447447cb5a75 to your computer and use it in GitHub Desktop.
Save ashen007/1934327403f210638886447447cb5a75 to your computer and use it in GitHub Desktop.
# saturation factor used as a multiplier to change RGB saturation
sf = 0.3
tf.image.adjust_saturation(image, saturation_factor=sf)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment