Skip to content

surendra1233/automated_pencil_drawing

Repository files navigation

automated_pencil_art

A python implemenation of the research paper [1]

Automated Setup

If you have bash, then you can just run the script install.sh to setup the environment and then run run.sh for running the algorithm. If automated run is failing for you, then go with manual setup

# giving permissions for execution
chmod +x install.sh
chmod +x run.sh
./install.sh             # setups the environment
./run.sh [image_path]    # runs the algorithm on given image

Manual Setup

To Run:

Install required packages

pip install -r requirements.txt

Also go to scipy-lic

cd scipy-lic/
python setup.py install
# and
cd vecplot/
python setup.py install

To run an example

cd src/
python final.py <IMAGE_PATH>

Open jupyter notebook only from src if needs to view a notebook.

Slightly detailed example in src/main.ipynb

Sample Outputs

couple rose flower dog

paper

[1] Automatic generation of accentuated pencil drawing with saliency map and LIC. url

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages