Skip to main content

Various inline stream processors for image augmentation.

Project description

Inline stream processors for image augmentation:

  • crop: crops images

  • flip: flips images either left-to-right, up-to-down or both

  • gaussian-blur: applies gaussian blur to images

  • hsl-grayscale: turns RGB images into fake grayscale ones by converting them to HSL and then using the L channel for all three channels

  • linear-contrast: applies linear contrast to images

  • rotate: rotates images by a specified degree (0-360) or randomly within degree range

  • scale: scales images by a specified percentage (0-1) or randomly within percentage range

Changelog

1.0.1 (2022-03-01)

  • added more typing hints to parameters

  • added ability to add augmented images rather than replace original ones, using the -m/–mode add option (–suffix overrides the default suffix)

  • added scale ISP for scaling images

1.0.0 (2022-02-23)

  • Initial release: crop, flip, gaussian-blur, hsl-grayscale, linear-contrast, rotate

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wai.annotations.imgaug-1.0.1.tar.gz (16.4 kB view details)

Uploaded Source

File details

Details for the file wai.annotations.imgaug-1.0.1.tar.gz.

File metadata

  • Download URL: wai.annotations.imgaug-1.0.1.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for wai.annotations.imgaug-1.0.1.tar.gz
Algorithm Hash digest
SHA256 dfcc3df3a98570ccbc8d3beb6285ce883f8eda9d19e2f9c9fe8610980f65dcf0
MD5 5953e04182bc81089809d1b29aefefc1
BLAKE2b-256 f38b80a2afaca63885d3bb83d19b30ab26831bbb49f353abc59fdb44708d302a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page