Skip to main content

AugX

AugX is a lightweight image augmentation utility for computer vision projects.
It provides a simple interface to generate multiple augmented image variants, as well as a dedicated sharpening function with adjustable intensity.


Features

  • Horizontal flipping
  • Gaussian blur
  • Median blur
  • Sharpening (standard + adjustable strength)
  • High-pass enhancement
  • Dilation & erosion
  • Returns augmentations as a list for easy saving or training

Installation

pip install augx

Usage

Importing

import cv2
from augx import augment_image, display_images

Generate Multiple Augmentations

Load Image:

img = cv2.imread("sample.jpg")

To generate Augmented images:

augmented_images = augment_image(img)
for name, img in augmented_images:
    cv2.imwrite(f"{name}.jpg", img)

To Display the images:

augmented_images = augment_image(img)
display_images(augmented_images)

Function Overview

augment_image(img)

Returns a list of augmented images, including:

  • Original image
  • Horizontally flipped
  • Sharpened
  • Gaussian blur applied
  • Median blur applied
  • High-pass filtered version
  • Dilated image
  • Eroded image

display_images(named_images)

Displays each augmented image one-by-one in a separate window, along with the name of the applied transformation.


License

Licensed under the MIT License.
See the full text in LICENSE.txt.

Author

Xopse
🌐 GitHub

Metadata

Release files for AugX 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for AugX 0.2.0
File Size Uploaded Provenance
augx-0.2.0.tar.gz 3.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for AugX 0.2.0
File Interpreter ABI Platform
augx-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.6 kB

Release files / augx-0.2.0.tar.gz

Download URL augx-0.2.0.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
137b467660336a6b1ba6e6d65a981baa407f3e359631b7d580c63c7261d7a7e5
BLAKE2b-256 checksum
How to use checksums
63763465318646f5c0e5b7d98854b0994f595beaab5ae207f5fd27069047e40f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.0

Release files / augx-0.2.0-py3-none-any.whl

Download URL augx-0.2.0-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
41fe190abf83b1fa0ae5dac67208e7b34378a1261fa830fcc9e78bc1bd2b5b01
BLAKE2b-256 checksum
How to use checksums
4717ab329594855837d4b6a6b475df71fa7c592aa53b59230e16c6f73a4c9839
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.0

Security for AugX 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page