$npx skillfedfor your agent

imgaug

Image augmentation library for deep neural networks

Worth itPyPI Python ModulesReleased Feb 20201.4M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — imgaug-0.4.0-py2.py3-none-any.whl
v0.4.0 · released 2020-02-05 · 9 runtime deps: six, numpy, scipy, Pillow, matplotlib, scikit-image, opencv-python, imageio

Yes, with caution about maintenance. imgaug is widely used (top 5000 on PyPI, 1351638 monthly downloads) and solves a real problem in machine learning workflows. Install friction is low and the MIT license is unrestrictive. However, the package is dormant—last release was 2020-02-05, and two security vulnerabilities are recorded. For new projects, verify that the vulnerabilities do not affect your use case and that dependencies remain compatible with your Python version. For existing projects already using it, the risk of upgrading may outweigh the benefit.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with a pure-Python wheel.
  • Depends on nine common scientific libraries (numpy, scipy, Pillow, scikit-image, opencv-python, matplotlib, imageio, Shapely, six).
  • Maintenance is dormant—last release was 2020-02-05, though the repository remains active with a recent commit on 2024-07-30.

License · maintenance · safety

MIT (permissive) — MIT license (permissive) allows commercial and private use with minimal restrictions, typical for research and production machine learning projects.

last release 2020-02-05 (2382 days) · last repo commit 2024-07-30 · 14,739 stars

2 known vulnerabilities (OSV.dev, 2026-08-14) · 1,351,638 downloads/mo, #4,015 on PyPI

Verify before relying

pip install imgaug

import imgaug.augmenters as iaa
import numpy as np

seq = iaa.Sequential([iaa.Fliplr(0.5), iaa.Affine(rotate=(-10, 45))])
image = numpy.zeros((32, 32, 3), dtype=numpy.uint8)
augmented = seq(image=image)
  • Current compatibility with Python versions beyond 3.8 (classifiers list 3.8 as latest)
  • Compatibility status with numpy 1.18+ and scipy versions released after 2020
  • Whether the two known security vulnerabilities (GHSA-g82g-j283-hj97, PYSEC-2026-356) affect typical augmentation workflows
Same gist for agents: .md · .json

What it is and what it does

imgaug is a Python library that generates augmented versions of input images by applying randomized transformations. It converts a single image into many slightly altered variants—rotated, cropped, with noise added, colors shifted, or perspective changed—to artificially expand training datasets and reduce overfitting in machine learning models.

The library handles not just raw images but also associated annotations: heatmaps, segmentation maps, keypoints, bounding boxes, polygons, and line strings. Transformations automatically align across all these data types (e.g., rotating an image and its bounding boxes by the same angle with zero extra code). It supports probability distributions as parameters, multicore augmentation, and a large collection of augmentation techniques including affine transforms, blurring, color shifts, dropout, and artistic effects.

Use it for

  • Expand a small labeled image dataset for training computer vision models by generating variations that reduce overfitting.
  • Augment bounding boxes and keypoints alongside images for object detection or pose estimation tasks.
  • Apply consistent transformations to segmentation maps and their corresponding images during training.
  • Generate synthetic training data by applying random augmentations in parallel across multiple CPU cores.
  • Combine multiple augmentation techniques in a sequence with random selection and probability control.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes, with caution about maintenance.

imgaug is widely used (top 5000 on PyPI, 1351638 monthly downloads) and solves a real problem in machine learning workflows. Install friction is low and the MIT license is unrestrictive. However, the package is dormant—last release was 2020-02-05, and two security vulnerabilities are recorded. For new projects, verify that the vulnerabilities do not affect your use case and that dependencies remain compatible with your Python version. For existing projects already using it, the risk of upgrading may outweigh the benefit.

Install

imgaug on PyPI

Before you install

Low install friction with a pure-Python wheel. Depends on nine common scientific libraries (numpy, scipy, Pillow, scikit-image, opencv-python, matplotlib, imageio, Shapely, six). Maintenance is dormant—last release was 2020-02-05, though the repository remains active with a recent commit on 2024-07-30.

License in practice

MIT license (permissive) allows commercial and private use with minimal restrictions, typical for research and production machine learning projects.

Quickstart

pip install imgaug

import imgaug.augmenters as iaa
import numpy as np

seq = iaa.Sequential([iaa.Fliplr(0.5), iaa.Affine(rotate=(-10, 45))])
image = numpy.zeros((32, 32, 3), dtype=numpy.uint8)
augmented = seq(image=image)

Verify before relying

  • Current compatibility with Python versions beyond 3.8 (classifiers list 3.8 as latest)
  • Compatibility status with numpy 1.18+ and scipy versions released after 2020
  • Whether the two known security vulnerabilities (GHSA-g82g-j283-hj97, PYSEC-2026-356) affect typical augmentation workflows

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
9 packages
sixnumpyscipyPillowmatplotlibscikit-imageopencv-pythonimageioShapely
MaintenanceDormant 2,382 days since the last release
Last repo commit
First released
Downloads1,351,638 / month, #4,015 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilities2 GHSA-g82g-j283-hj97, PYSEC-2026-356
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: Science/ResearchLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Topic :: Scientific/Engineering :: Artificial IntelligenceTopic :: Scientific/Engineering :: Image RecognitionTopic :: Software Development :: Libraries :: Python Modules

Evidence: imgaug-0.4.0-py2.py3-none-any.whl

Tags

Capabilities
image augmentation machine learningdata augmentation deep learningimage transformation trainingaugment images neural networksimage preprocessing computer visionbounding box keypoint augmentationsegmentation map augmentation
Topics
computer-visiondata-augmentationdeep-learning
PyPI keywords
augmentationimagedeep learningneural networkCNNmachine learningcomputer visionoverfitting

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “image augmentation machine learning”

  • imgaugAugments images and related data (heatmaps, segmentation maps,…
  • augmaxAugmax is a JAX-based image data augmentation framework that chains…
  • qudidaQuDiDA performs pixel-level image domain adaptation using…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also albumentations · batchgenerators · ttach · batchgeneratorsv2 · audiomentations · deskew · mtcnn · augmax · torchio · color-operations