Skip to main content

A simple image processing package.

Project description

pyimg-process

The pyimg-process package is a Python library that provides simple and expressive manual image processing techniques. It aims to provide an easy toolkit for begginer users in order to develop their image treatment projects. It is already well on its way towards this goal.

Main Features

Here are some of the implemented features:

  • Easy way to read, write and display images
  • Image resizing to any dimension
  • RGB to grayscale conversion
  • Image blurring and sharpening methods
  • Image filtering by thresholding
  • Visualization of the histogram of the image
  • Inverse image obtention

Installation

Use the package manager pip to install pyimage.

pip install pyimg-process

Usage

import pyimg_process

# loads 'image' from 'path'
img = pyimg_process.Methods.read_image('path','image')

# converts img to grayscale
gray = pyimg_process.Methods.grayscale(img)

# sharpen img with a 100x100 kernel
sharp = pyimg_process.Methods.sharpen(img, 100)

# displays both images
pyimg_process.Methods.show_image(img)
pyimg_process.Methods.show_image(gray)
pyimg_process.Methods.show_image(sharp)

Original image Image on grayscale Image sharpened

Dependencies

  • NumPy - Adds support for large, multi-dimensional arrays, matrices and high-level mathematical functions to operate on these arrays
  • Matplotlib - Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations in Python. Matplotlib makes easy things easy and hard things possible.
  • OpenCV - OpenCV provides a real-time optimized Computer Vision library, tools, and hardware.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

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

pyimg_process-0.0.9.tar.gz (376.7 kB view details)

Uploaded Source

Built Distribution

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

pyimg_process-0.0.9-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file pyimg_process-0.0.9.tar.gz.

File metadata

  • Download URL: pyimg_process-0.0.9.tar.gz
  • Upload date:
  • Size: 376.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for pyimg_process-0.0.9.tar.gz
Algorithm Hash digest
SHA256 473c23b40d45872e1ffe8d8c4e40a5b8fef91708e0f32d187e2e53f53fe5e5f1
MD5 b4c2b7240d5ae18afb1c83c3aa4d72a7
BLAKE2b-256 aa37a8d5107f7bc5c851abba88f6a814ddf8927bbd771a6db81655c51d55db7c

See more details on using hashes here.

File details

Details for the file pyimg_process-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: pyimg_process-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for pyimg_process-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 9869c0a1e61b88a95d12d3275af2f2d7a8ed4a89f79e97b8b2cab101f651b566
MD5 1bdbe4579b57c9170c8949a5fc694b94
BLAKE2b-256 19881148b49fdc33c7b5d281631b90237fcc77e4ddb963b930042fe9cf1e5183

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