Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 802 Bytes

README.md

File metadata and controls

40 lines (30 loc) · 802 Bytes

Artistic Low-Poly Rendering

Based on the following paper : Link

Usage

First time :

sudo apt install docker.io  
sudo systemctl restart docker.service  
sudo docker pull ubuntu:16.04  
sudo docker run -v /path/to/hussain/:/hussain -it ubuntu:16.04 /bin/bash  
cd hussain/ 
chmod +x install.sh   
chmod +x run.py
./install.sh
./run.py <IMAGE_NAME(JPG or PNG)>

Saving the docker container before exit :

Open a new Terminal

docker ps  
sudo docker commit <CONTAINER ID> ubuntu:hussain

To run the container again :

sudo docker run -v /path/to/hussain/:/hussain -it ubuntu:hussain /bin/bash  

Results

Input

input

Output

output