Skip to main content

A python package to support essential trasformations on image datasets

Project description

Documentation Status codecov

ImaGenie

ImaGenie is a Python package for image augmentation and modification, providing a variety of functions to manipulate images for machine learning, computer vision, or creative purposes. Whether you need to flip, scale, convert to grayscale, or blur images, ImaGenie is your one-stop solution for fast and efficient image manipulation.

Features

  • flip(image, direction=0): Flips the input image either horizontally or vertically. Useful for augmenting datasets by introducing mirror-image variations. 0 = horizontal flip, 1 = vertical flip
  • scale(image, N): Resizes the input image by a given scale factor N. This is crucial for normalizing or creating variations in image resolution.
  • blur(image, stdev=1.0): Applies a Gaussian blur effect to the image. Helps simulate real-world noise or reduce sharpness for specific use cases.
  • greyscale(image): Converts the image to grayscale. Ideal for models that only require intensity information, excluding color features.
  • augment(image): Applies a sequence of user-defined augmentation operations to a list of images. Useful for image generating images for computer vision tasks.

Installation

To install from pypi:

$ pip install imagenie

Python Ecosystem Integration

ImaGenie fits well within the Python ecosystem by providing functionality for image manipulation and augmentation. There are several popular libraries for image processing, that offer more complex functionalities, but this package provides a simple, user-friendly interface for common operations tailored for specific image manipulation tasks.

Reference for other image processing libraries:

Contributors

  • Agam Sanghera
  • Gurmehak Kaur
  • Yuhan Fan
  • Yichun Liu

Contributing

Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

License

imagenie was created by Agam Sanghera, Gurmehak Kaur, Yuhan Fan, Yichun Liu. It is licensed under the terms of the MIT license.

Credits

imagenie was created with cookiecutter and the py-pkgs-cookiecutter template.

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

imagenie-1.1.1.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

imagenie-1.1.1-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file imagenie-1.1.1.tar.gz.

File metadata

  • Download URL: imagenie-1.1.1.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for imagenie-1.1.1.tar.gz
Algorithm Hash digest
SHA256 df13bfd8b0e85bb9682b17f050ae95e6d69632a64c263ca46cb6afae39d0e0d0
MD5 1a9ae550c698f2f79b85735f1e6d458c
BLAKE2b-256 059570fd6fa817a4b85c83811a175546576ffae00891edd557368dbcfccea083

See more details on using hashes here.

File details

Details for the file imagenie-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: imagenie-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for imagenie-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 822a5b2be8ba24897efc0a1530d620291d731292b2cd0237b3d5689f4bb72ca6
MD5 f4ec42d360b783817ca744718eef3d3f
BLAKE2b-256 f20c58a61ba6aae3a8a69c38a5ae8e6720f3bc924ad5b46176b0648efd917d13

See more details on using hashes here.

Supported by

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