apply different types of filters on image
Project description
sufi
sufi : do image and video manipulation ||apply filters|| extract frames||
how to use
install
pip install sufi
import and use
from sufi import filters
convert to image to digital art
path = "../images/football.jpeg" #path of image
img = cv.imread(path) # read image
img = filters.digital_art_filter(img) # apply filter
filters.display_image(img) #display image
convert image to pencil art
path = "../images/football.jpeg" #path of image
img = cv.imread(path) # read image
img = filters.sketch_filter(img)
filters.display_image(img) #display image
adjust values for different types of images
digital_art_filter(img,sigma_s=10,sigma_r=0.3,blur = 7)
here you supply sigma_s and sigma_r as per your need.
blur
sharp
canny
HDR
sketch
digital paint
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
sufi-1.0.2.0.tar.gz
(3.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sufi-1.0.2.0.tar.gz.
File metadata
- Download URL: sufi-1.0.2.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49f04149e7a2bc5bbf482a8f66a1057922d0f07b613aa32ac51daffbc887a80b
|
|
| MD5 |
b68b01a6b28cc42fe22ebc0e877897b3
|
|
| BLAKE2b-256 |
9c383ce17113672da881d46a6616ee65062088b7f064f55b32299a5a2546d10e
|
File details
Details for the file sufi-1.0.2.0-py3-none-any.whl.
File metadata
- Download URL: sufi-1.0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f766d0b6af4ba0446be0ebd48f94113ea5de2c47d6444998a0569946842551d0
|
|
| MD5 |
798864d8e525810f2d4625bdecf75264
|
|
| BLAKE2b-256 |
2a470684d468caa69abe3428205fc2fd7f771ef192dc12bc2ab058593529b40b
|