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

  • 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

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.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

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.

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