A simple package for image processing
Project description
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)
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pyimg_process-1.3.2.tar.gz.
File metadata
- Download URL: pyimg_process-1.3.2.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37b393dec0865b230f85f5e3e91252539f8ad40c6fada28b3d4bbe762b03e348
|
|
| MD5 |
30f3d0c956bba9f508ec77b39e40b952
|
|
| BLAKE2b-256 |
5ba9611c16ec59503a1ba73b5a1a29302a85409a8a1f82db8f77680f4dd5b562
|