A Python package to convert your photos into pencil art or pencil sketch.
Reason this release was yanked:
updating the readme file for smooth usage of code
Project description
This is a simple Python package that converts your beautiful photos to pencil art. The transformed photo just looks like a photo which is drawn using pencil.
For this package to run without any errors the following packages should be installed on your system opencv-python numpy
All you have to do is just download the package as
pip install img2sketch
You can use this package in your code as
img2sketch("/path/of/your/original/photo.jpg", "/path/where/your/newphoto/tobe/saved.jpg")
For example: I have pavan.jpg photo under /home/pavan/Desktop/pavan.jpg I want the new transfromed photo at the same folder (Desktop) as new.jpg Here my code looks like
img2sketch("/home/pavan/Desktop/pavan.jpg", "/home/pavan/Desktop/new.jpg")
After the program executes the transformed photo is saved under the path you have provided.
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
Built Distribution
Hashes for img2sketch-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c305f9f2c8f94406c2f3367df55ae7e808f8d1795373e0cf2f0bd7728a6e5e2 |
|
MD5 | e10ef69b4bcf29cf4455e612eb953012 |
|
BLAKE2b-256 | 1da87cac66779e6b1f1011226d108cf9eda6e351cb358bba27a25b97352f5490 |