contact: impytool.package@gmail.com
“impytool is an opencv based tool that facilitates some image processing operations”
GitHub README for More Detailed User Manual
USAGE:
Mandatory Parameters:
image: Image file to be processed
save: 1 or not. The 1 is will save the file in new form
impytool.grayscale(image,save)
Converts the image in grayscale form
impytool.negative(image,save)
Converts the image in negative form
impytool.color_change(image,color1,color2,save)
Replaces one color in the image with another color.
color1: the color that will change
color2: the color that will replace color1
color: “blue” “green” “red” “yellow” “orange” “purple” “brown” “white” “black”
for example: impytool.color_change(‘a.jpg’,‘red’,‘color2’,0) -> change red color to blue color on the “a.jpg”
impytool.color_filter(image,color,save)
The image filtered by choosen color
color: “blue”,“green”,“red” .
impytool.blur(image,save)
Converts the image blurred form
impytool.resize(image,w,h,save)
Adjusts the image to the desired dimensions
w: Width of the new sizes.
h: Height of the new sizes.
impytool.brightness(image,rate,save)
Adjusts the brightness of the image
rate: Change rate of the brightness.
impytool.contrast(image,alpha,save)
Adjusts the contrast of the image
alpha: Contrast change quantity
alpha should be in the range of 0-3.0
the 0-1.0 range is the lower contrast
the 1.0-3.0 is the higher contrast
impytool.only_color(image,color,save)
Shows only the selected color on the image
color: “blue” “green” “red” “yellow” “orange” “purple”
impytool.rotate(image,direction,save)
Flips the image
direction: The desired flip direction, it may be ‘vertical’ ‘horizontal’ ‘both’
impytool.flip(image,angle,save)
Rotates the image
angle: The desired rotation angle, it may be 90-180-270
impytool.histogram(image,hist_type)
Creates a histogram for the image
hist_type: Determines the histogram type.
it may be ‘hist’ : for the grayscale images
it may be ‘rgb_hist’ : for the colored images
impytool.black_white(image,save)
Converts the image black & white form.
Release files for impytool 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| impytool-1.2.1.tar.gz | 5.4 kB | Details |
Release files / impytool-1.2.1.tar.gz
| Download URL | impytool-1.2.1.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fddcf432f3aed859aa14950ad3da3d5a733c7d879537409fbe3caa3c2b81cceb
|
|
BLAKE2b-256 checksum How to use checksums |
1c20a79e9f2d909c3fb1847373d64ee6e4949aa274a7660a0246a9d2fe6c622f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.6
|