Skip to main content

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

  • sub-images: extracts regions (incl annotations) from images using user-defined bounding boxes

Changelog

1.0.6 (2022-09-05)

  • sub-images plugin now has a –verbose flag; only initializes the regions now once

1.0.5 (2022-06-13)

  • Added sub-images plugin for extracting regions (including their annotations) based on one or more bounding box definitions from the images coming through and only forwarding these sub-images

1.0.4 (2022-05-12)

  • Fixed error message of AnnotationOverlay in case data of wrong domain is coming through

  • Moved AnnotationOverlay into wai.annotations.imgvis module

1.0.3 (2022-05-05)

  • –labels option of the add-annotation-overlay-od plugin gets respected now, also using correct label for text now (when varying the colors)

1.0.2 (2022-05-05)

  • added add-annotation-overlay-od plugin to overlay the object detections on the images

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

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.6.tar.gz (20.2 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: wai.annotations.imgaug-1.0.6.tar.gz
  • Upload date:
  • Size: 20.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.10

File hashes

Hashes for wai.annotations.imgaug-1.0.6.tar.gz
Algorithm Hash digest
SHA256 a206e821d5d29afe9181154c44d5df4f76b2fd915934c88986d69b1b1975acaa
MD5 bdf2a97ce330b169900cbac7dba8c1c7
BLAKE2b-256 bfd8650dad46f116936e351b905543624e034f5818fc503dfac577db3689009a

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.6 This release

1 file

1.0.5

1 file

1.0.4

1 file

1.0.3

1 file

1.0.2

1 file

1.0.1

1 file

1.0.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page